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 :
> 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.



[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.



[google-appengine] Cron and app versions

2009-04-13 Thread William Shallum
Hi, when using cron in an app with multiple versions, shouldn't the cron job 
run on the version that has the cron.yaml? It seems that currently the cron job 
is run on the default version.

I changed the version in the admin console using the dropdown box but my cron 
jobs (that are only in the latest version) are still displayed. The cron job 
itself is marked as "failed" while a manual GET using a browser to the 
versioned address does not result in an error. The cron requests show up as 404 
errors in the request logs of the default version. Bug?

Thanks,
William

--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---