We always use the (self-named) "cron-task" pattern.

That is, our cron jobs do nothing more than queue a task to do the actual 
work, and the tasks have their own retry policy. Queuing a task is a very 
high success operation.

j

On Friday, 19 July 2013 10:06:03 UTC-6, Marcel Manz wrote:
>
> Sometimes it happens that cron jobs aren't executed correctly and get 
> marked as 'failed' in the cron overview. Is there an option to tell App 
> Engine to automatically retry instead of marking the job as 'failed' ?
>
> We use simple cron jobs to distribute workloads via the taskqueue to 
> worker processes. If the cron fails to execute, the workload doesn't get 
> distributed.
>
> Before we implement some cron-failure checks via marking and checking the 
> execution-success in datastore, I would like to ask first if there's any 
> way to have App Engine auto-repeat the cron job instead of marking it 
> 'failed' ?
>
> Thanks
> Marcel
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to