The dev server used to not execute tasks automatically at all but now the
functionality emulates prod pretty closely.

On Fri, Apr 23, 2010 at 6:02 AM, James <[email protected]> wrote:

> Are you seeing this on the dev server or in production?  I vaguely
> recall reading somewhere that the dev server always executes
> immediately(??).
>
> James
>
> On Apr 22, 4:21 pm, Fabrizio <[email protected]> wrote:
> > Hello,
> >
> > I need to add a task in the TaskQueue. But I need a small delay before
> > exectution (2 seconds). I use countdownMillis(long) to delay the
> > execution.  But execution starts immediatelly. I don't understand if
> > my code is wrong or if there is a problem with countdownMillis.
> >
> > My code is:
> >
> > Queue queue = QueueFactory.getQueue(queueName);
> > TaskOptions taskOpts = TaskOptions.Builder.url(url);
> > taskOpts.countdownMillis(delay);
> > taskOpts.method(Method.GET);
> > queue.add(taskOpts);
> >
> >    Thank you for help
> >
> > fabrizio
> >
> > --
> > 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]<google-appengine-java%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

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