Have not yet done this, but plan to experiment with it. Presumably if I run my on-line call handler in a non-default version, I can make on- line handler calls to DEFAULT task queue tasks such that my DEFAULT instance ends up only processing TQ items. I'm seeing this as a means to effect a pseudo-high-reliability TQ (granted many issues might affect its reliability, but I'll have reasonable control over this).
Thanks, stevep On Oct 18, 9:37 am, Greg Darke <darke+goo...@google.com> 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-appengine@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://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 post to this group, send email to google-appengine@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.