Is this also possible with the Java SDK? I couldn't find any 'target' 
parameter.

On Tuesday, October 18, 2011 7:37:27 PM UTC+3, Greg Darke wrote:
>
> In the recent 1.5.5 release we added a feature to allow just this
> behaviour.
> If you pass the new module level constant DEFAULT_APP_VERSION as value
> for the target parameter the task will be enqueued on the default
> version of your application.
>
> You can use it as follows:
>
> from google.appengine.api import taskqueue
>
> task = taskqueue.Task(url='/', target=taskqueue.DEFAULT_APP_VERSION)
> taskqueue.Queue().add(task)
>
> # Or the following one-liner:
> taskqueue.add(url='/', target=taskqueue.DEFAULT_APP_VERSION)
>
> On Mon, Oct 17, 2011 at 03:47:07AM -0700, db.User('someone') wrote:
> > Hi,
> > 
> > I  have a task running on backend, which needs to schedule another
> > task to be run on frontend.
> > 
> > Can this be done?
> > 
> > Just omitting the 'target' param creates tasks which still run on the
> > backend.
> > 
> > (I'm using taskqueue API with the default push queue)
> > 
> > Thanks!
> > 
> > -- 
> > 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-a...@googlegroups.com<javascript:>
> .
> > To unsubscribe from this group, send email to 
> google-appengi...@googlegroups.com <javascript:>.
> > 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 unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to