Once in a while, the scheduler is brought down as part of uwsgi reload. 
Thenscheduler_task and scheduler_run have statuses in RUNNING and I can't 
get them to start again properly. So I tried deleting all records from 
scheduler_run, and updating the task table too. But that did not help. 
Right now I have an active worker and data in the 2 tables as below - 

Task - 
start time - 2014-02-11 04:13:57
next run time - 2014-02-11 04:42:27
Assigned worker name is NULL
Status - Queued

Worker - 
first heart beat 2014-02-10 01:18:23
last heart beat 2014-02-11 04:45:35

What do I need to do to make the worker pick the task? Can you please 
provide the query used by the worker to take tasks and assign to itself?

-- 
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