funny..... brutally killing the worker is of course something that should 
be avoided...

but a RUNNING task assigned to a worker that dies gets reassigned to 
another alive worker as soon as it pops up (Lines 811 and following of the 
scheduler)

deleting the scheduler_run table doesn't do anything useful.

The query to fetch a task is not only based on status......there are 
multiple conditions (you can see the code into the assign_task() function, 
lines 859 and following)
specifically (lines 879 and following)
status = queued, assigned
times_run < repeats (or repeats == 0)
start_time < now
stop_time either None or > now
enabled = True

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to