Cron job schedule time reset when uploading new version

6 views
Skip to first unread message

djidjadji

unread,
Nov 18, 2009, 4:12:25 AM11/18/09
to google-a...@googlegroups.com
I have a simple cron job that needs to run "every X hours"

--------------- cron.yaml -----------------------
cron:
- description: Hourly Check
url: /jobs/check
schedule: every 1 hours
------------------------------------------------------

If I upload a new version of the app the schedule time of the cron job
is reset. I haven't changed cron.yaml.
The dashboard cron jobs page shows "hasn't run yet" after an upload.

Why is the schedule time reset on upload of application when the cron
job is not changed?

Why is the cron job not scheduled/called immediately (or 1 minute)
after the upload, if the reset is needed?
Then the job would be called a few times to much but at least it gets called.

If you have an "every 3 hours" and you do a few uploads in a day the
cron job is hardly ever called.

Jason C

unread,
Nov 18, 2009, 5:01:54 PM11/18/09
to Google App Engine
We had a nightly job on our development server to which we also did a
daily automated build.

The cron job never executed. It took me forever to understand why.

I'm not sure why it is designed this way.

j

Ikai L (Google)

unread,
Nov 18, 2009, 5:09:05 PM11/18/09
to google-a...@googlegroups.com
Can you guys log this as an issue? I don't see this in our issue tracker.

http://code.google.com/p/googleappengine/issues/list?can=2&q=cron

--

You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.





--
Ikai Lan
Developer Programs Engineer, Google App Engine

djidjadji

unread,
Nov 18, 2009, 7:28:24 PM11/18/09
to google-a...@googlegroups.com
I used the original message text as the text for the issue

http://code.google.com/p/googleappengine/issues/detail?id=2408

2009/11/18 Ikai L (Google) <ika...@google.com>:
Reply all
Reply to author
Forward
0 new messages