I am writing a callback function after update on scheduler_task. then i am 
printing set which we are getting in that callback function.

set values are printed when scheduler_task.status change to 'ASSIGNED' and 
'RUNNING'. but when scheduler_task.status changes to 'TIMEOUT' or 
'COMPLETE' set is empty...its not printing any value

def scheduler_task_update_callback(dbset, new_fields):
          logger.debug("---------scheduler_task updated-------------")
          rows = dbset.select()
          logger.debug(rows) 

I need to write callback when scheduler_task.status changes to timeout.
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.

Reply via email to