I downloaded the most recent version of the sdk (again, I'm pretty sure),
'1.3.4', and it still has this on the task admin page: "Tasks will not run
automatically. Push the 'Run' button to execute each task."

Which is curious, because I see this on the changelog for the python sdk: "Auto
task execution is now enabled in the dev_appserver. To turn this off use the
flag --disable_task_running."

I try clicking 'Run', hoping against hope that my task will start chaining
itself, but no, I must continue to click.

I think I'm doing it wrong. :\

On Thu, Jun 24, 2010 at 9:58 AM, Rye Terrell <[email protected]>wrote:

> The problem with cron for me is that I can get it to run at most every
> minute, where I need my task to run every second or two. :\
>
> I thought I had the most recent appserver, but I see 'Tasks will not run
> automatically. Push the 'Run' button to execute each task.' on the task
> admin page.  I will download the latest version and try again. Thanks!
>
>
> On Thu, Jun 24, 2010 at 7:42 AM, Geoffrey Spear <[email protected]>wrote:
>
>>
>> On Jun 23, 10:27 pm, Ryan <[email protected]> wrote:
>> > I have a task that resubmits itself, so that it loops over and over
>> > indefinitely.  Every time I start dev_appserver.py, I have to open
>> > this url to get it going: http:///localhost:8080/loop?key=0.  Is there
>> > some automated way to do this so that it starts when I run
>> > dev_appserver.py, or when my app gets uploaded?
>>
>> A task that needs to run on a regular schedule sounds like a great job
>> for cron, rather than tasks that spawn more tasks forever.  In my
>> opinion, task queue chaining is usually better suited for running a
>> series of tasks that have some anticipated end when there's no more
>> work to do, as opposed to a task that needs to be constantly running
>> forever. (On the other hand, it seems likely that having a neverending
>> looping process doing stuff when no one's even using your application
>> could be an inefficient design...)
>>
>> > While I am on the topic of tasks, is there some way to automatically
>> > execute the task queue built into dev_appserver?  The documentation
>> > seems to say I must do it manually, but I hear whispers that the java
>> > guys can automate it.  I found a script to do it, but it's a pain to
>> > run every time I start things up again.
>> >
>> > Thanks!
>>
>> The dev_appserver in the current SDK should run tasks automatically.
>> What version are you running?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> 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 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?hl=en.

Reply via email to