[英]Google App Engine: Scheduled Tasks With Cron for Python
I have read the manual here: http://code.google.com/appengine/docs/python/config/cron.html 我在这里阅读了该手册: http : //code.google.com/appengine/docs/python/config/cron.html
But I want to do a task at some specific times: 但我想在某些特定时间执行任务:
- description: do this cron
url: /do-this-cron
schedule: every day 08:15,12:15,16:15
Is this legit? 这是合法的吗?
I havent seen any other examples where times are seperated by comma. 我还没有看到用逗号分隔时间的任何其他示例。
No, the schedule format doesn't support comma-separated times. 不可以,时间表格式不支持以逗号分隔的时间。 You can do this instead:
您可以改为:
- description: do this cron
url: /do-this-cron
schedule: every 4 hours from 08:15 to 16:15
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.