[google-appengine] Cron and App Versions

2010-10-07 Thread Remigius
In the documentation of cron jobs (see
http://code.google.com/intl/de-CH/appengine/docs/java/config/cron.html#Cron_and_App_Versions)
it says that Cron requests are always sent to the default version of
the application.

This may be correct, but is a very short statement of what actually
happens, leaving imho some questions unanswered. We have uploaded a
new version of an app, which was the first version that contained a
cron.xml. Therefore we saw only an error in the log saying No
handlers matched this URL.. After some thinking, we came to the
obvious conclusion that cron jobs go to the default version (see
above).

So far, so good. But what happens now of there are several versions of
cron.xml deployed with different app versions? Is each of the cron
jobs of possibly multiple versions executed? Or is cron.xml a
singleton? Does it make sense to execute cron.xml from other versions
than the default version (in our case it did not do any harm, as the
handler was not present, but this may well happen in other cases)?

At least I would appreciate to see some documentation about which
cron.xml is/are active at a given time, to be able to exercise the
necessary control over cron.xml deployment.

-- 
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=en.



Re: [google-appengine] Cron and App Versions

2010-10-07 Thread djidjadji
The cron jobs are uploaded separate from the source code.
I think there is only one version of cron jobs, the last one uploaded.
If you switch default application you only switch source code.

2010/10/7 Remigius remigius.stal...@gmail.com:
 In the documentation of cron jobs (see
 http://code.google.com/intl/de-CH/appengine/docs/java/config/cron.html#Cron_and_App_Versions)
 it says that Cron requests are always sent to the default version of
 the application.

 This may be correct, but is a very short statement of what actually
 happens, leaving imho some questions unanswered. We have uploaded a
 new version of an app, which was the first version that contained a
 cron.xml. Therefore we saw only an error in the log saying No
 handlers matched this URL.. After some thinking, we came to the
 obvious conclusion that cron jobs go to the default version (see
 above).

 So far, so good. But what happens now of there are several versions of
 cron.xml deployed with different app versions? Is each of the cron
 jobs of possibly multiple versions executed? Or is cron.xml a
 singleton? Does it make sense to execute cron.xml from other versions
 than the default version (in our case it did not do any harm, as the
 handler was not present, but this may well happen in other cases)?

 At least I would appreciate to see some documentation about which
 cron.xml is/are active at a given time, to be able to exercise the
 necessary control over cron.xml deployment.

 --
 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=en.



-- 
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=en.