[google-appengine] Re: Cron job schedule time reset when uploading new version

2009-11-18 Thread Jason C
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

On Nov 18, 3:12 am, djidjadji djidja...@gmail.com wrote:
 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.

--

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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.




Re: [google-appengine] Re: Cron job schedule time reset when uploading new version

2009-11-18 Thread Ikai L (Google)
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=2q=cron

On Wed, Nov 18, 2009 at 2:01 PM, Jason C jason.a.coll...@gmail.com wrote:

 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

 On Nov 18, 3:12 am, djidjadji djidja...@gmail.com wrote:
  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.

 --

 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@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

--

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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.




Re: [google-appengine] Re: Cron job schedule time reset when uploading new version

2009-11-18 Thread djidjadji
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:
 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=2q=cron

 On Wed, Nov 18, 2009 at 2:01 PM, Jason C jason.a.coll...@gmail.com wrote:

 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

 On Nov 18, 3:12 am, djidjadji djidja...@gmail.com wrote:
  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.

 --

 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@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

 --

 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=.


--

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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.