Hi guys, I just posted a small recipe for running tasks automatically on the local development server:
http://appengine-cookbook.appspot.com/recipe/run-tasks-automatically-on-your-local-development-server/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tyjwELEgtSZWNpcGVJbmRleCI4YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZBc1NDRU5oZEdWbmIzSjVJZ1pRZVhSb2IyNE0MCxIGUmVjaXBlIjphaEpoY0hCbGJtZHBibVV0WTI5dmEySnZiMnR5RkFzU0NFTmhkR1ZuYjNKNUlnWlFlWFJvYjI0TTE2DA Feedback is welcome. Petko On Jun 24, 1:04 am, "Jeff S (Google)" <j...@google.com> wrote: > Hi Stephen, > > My last post contained a mistake, flush actually causes the tasks to be > removed but they are not run. To actually run the tasks, click on the queue > name then click the run button on the next page. > > Thanks for the feedback about documentation on the dev server's admin > console. It is mentioned here but it is quite brief: > > http://code.google.com/appengine/docs/python/tools/devserver.html#The... > > Thank you, > > Jeff > > On Mon, Jun 22, 2009 at 6:08 PM, Stephen Mayer <stephen.ma...@gmail.com>wrote: > > > > > Hey Jeff, > > > Thanks much for the reply. I'm wondering why the admin interface in > > my dev server isn't ever mentioned in the docs (that I have found thus > > far) ... it would have come in handy to know of its existence. > > Perhaps you might consider adding a mention of it at some point? > > Looks like i can browse my entities and reset my cache ... nice stuff > > to know about. Some of these features you can't even do in > > production. > > > Stephen > > > On Jun 22, 1:55 pm, "Jeff S (Google)" <j...@google.com> wrote: > > > Hi Stephen, > > > In the SDK dev server, the task queue's tasks must be triggered manually. > > If > > > you visit localhost:8080/_ah/admin/queues, you can see a list of queue > > names > > > with a "flush" button to cause all enqueued tasks in that queue to be > > > executed. Part of the reason for having a manual trigger for execution is > > to > > > prevent runaway scenarios as you describe. In the SDK you can step > > through > > > each "generation" of tasks and watch for endless or exponential triggers. > > > > Happy coding, > > > > Jeff > > > > On Sun, Jun 21, 2009 at 5:27 PM, Stephen Mayer <stephen.ma...@gmail.com > > >wrote: > > > > > So now that we have the task queue ... how do we test it in our > > > > sandboxes? Or perhaps I missed that part of the documentation ... can > > > > anyone clue me in on testing it in a place that is not production (I > > > > wouldn't want a queue to start some runaway process in production ... > > > > would much prefer to catch those cases in testing). > > > > > Thoughts? > > > > -Stephen > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---