I am writing after update callback function on scheduler_task table when
task status changes. i am getting values in dbset of callback function when
status changes to ASSIGNED AND RUNNNG but when status changes to TIMEOUT
and COMPLETED dbset doenot contain any value .
def scheduler_task_update_callback(dbset, new_fields):
73 logger.debug("---------scheduler_task updated-------------")
76 rows = dbset.select()
77 logger.debug(rows)
same i tried with scheduler_run but in this in dbset i am getting values
when status changes to TIMEOUT also.
def scheduler_run_update_callback(dbset, new_fields):
105 logger.debug("---------scheduler_task updated-------------")
106 task_id_row = dbset.select()
107 logger.debug(task_id_row)
My Question is y is this behaviour of scheduler_task?
I want to handle TIMEOUT tasks how can i do that?
pls help me
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.