【发布时间】:2014-06-09 01:40:30
【问题描述】:
我想设置一个 cron 作业,以便从 9 月到 5 月每周发送电子邮件。到目前为止我对 cron.yaml 的了解:
- description: mail
url: /crontask
schedule: every monday 09:00 ["from" (first Monday of September) "to" (last Monday of May)]
app.yaml:
- url: /.*
script: myapp.application
蟒蛇:
class CronTask(Handler):
def post(self):
*send out mail*
python 映射:
application = webapp2.WSGIApplication([
('/crontask', CronTask)...
什么是正确的“从”“到”语法?
【问题讨论】:
-
从 9 月到 9 月可能不起作用?
标签: python google-app-engine cron