在Google App Engine中,我想在10分钟内每小时安排一项任务.我的意思是,每天00:10,01:10,02:10,... 22:10和23:10:每时每刻+十分钟.Crontab等价就好了
10 * * * * mytask
我该怎么写cron.yaml
?
cron: - description: do something url: /myscript schedule: (?)
PS Season的问候,大家好!
cron: - description: do something url: /myscript schedule: every 1 hours from 00:10 to 23:10
来自Google App Engine文档:
默认情况下,间隔计划在上一个作业完成后的下一个间隔开始.但是,如果指定了from ... to子句,则会定期安排作业,而与上次作业完成时无关
因此,它将在00:10,01:10等运行