"*If a task fails to execute* (by returning any HTTP status code outside of
the range *200-299*), App Engine retries *until it succeeds*."
http://code.google.com/appengine/docs/java/taskqueue/overview.html#Task_Execution

So, if you need to run you tasks once, ensure you will return always http
200. The simpler way: put a try-catch in your servlet entry point and catch
all exceptions. A quite brutal but it works.

   fabrizio


On Sun, Apr 17, 2011 at 8:34 AM, nischalshetty <[email protected]>wrote:

> Pretty weird. Let's hope someone from the GAE team peeps into this thread.
> I have thousands of tasks being generated every minute and there are errors
> when they are executed. I'm hoping they don't get "duplicated". There's no
> way for me to know so if what you say is true then it's trouble for a lot of
> us.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to