如何从9月到5月在AppEngine中设置python cron作业

如何从9月到5月在AppEngine中设置python cron作业,python,google-app-engine,cron,Python,Google App Engine,Cron,我想设置一个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 python: class Cr

我想设置一个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
python:

class CronTask(Handler):
    def post(self):
        *send out mail*
python映射:

application = webapp2.WSGIApplication([
                    ('/crontask', CronTask)...

什么是正确的“from”“to”语法?

看起来这个处理程序每周调用一次。如果您在CronTask处理程序中使用Python的datetime库检查日期,而不是在crontab上指定日期,该怎么办

或者,在文档中,“括号仅用于说明,引号表示文字”,因此不要使用这些括号和引号。一条有效的线可能看起来像:

schedule: every monday of sep,oct,nov,dec,jan,feb,mar,apr,may 17:00

从九月到五月不工作吗?