python - app engine cron jobs not running in production -


i uploaded application app engine , seems working correctly except cron jobs not running. have cron.yaml file in root directory basically:

cron: - description: stuff   url: /cron/dostuff   schedule: every 1 minutes  - description: other stuff   url: /cron/dootherstuff   schedule: every 1 days 

this maps following portion of app.yaml file:

- url: /cron   script: main.py   login: admin 

which maps application in main.py says:

# cron ('/cron/(.*)',handlers.cronhandler), 

which maps cronhandler program so:

class cronhandler(basehandler):     def get(self, mode=""):         if mode == "dostuff":             # stuff should happen here 

i've uploaded app google , else seems working correctly. , when hit cron urls directly (i.e., myapp.appspot.com/cron/dostuff) works correctly. cron jobs don't run on own, , when go in dashboard , view cron jobs page, see this.

enter image description here

any idea i'm doing wrong?

got figured out. "days" on own without specified time not valid schedule. needed change "every 24 hours" or "every day 00:00". great if docs on cron.yaml little more clear options.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -