I have always assumed in design that my scheduled tasks (cron jobs)
should be idempotent, since I know that my queued tasks must be.

Your experience appears to validate my assumption!


On Oct 25, 11:18 am, Lior Harsat <lior.har...@gmail.com> wrote:
> Hi,
>
> I have noticed today that on of my cron jobs ran twice !!!
> I can see in the log the queue header : "queue_name=__cron
> task_name=989235fd7268bdc3a1bde56c2063bcd4" for both requests.
> further more in my cron jobs page in the admin console it states the
> the cron ran successfully but 26 seconds late.
> The requests I see in my log are 26 seconds apart.
> my app id is farmigo-csa.
>
> Is this a bug?
> Should my code also make sure the cron job hasn't run already ?
> This cron job was for a billing cycle. You can understand the
> implications :-(
>
> Thanx Lior

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

Reply via email to