Hi,I have following codedef fun1:do somethingreturns locals()I have below code in scheduler.pydef hcstar():
LOAD('monitoring',' fun1')
from gluon.scheduler import Scheduler
scheduler2 = Scheduler(db,tasks=dict(hcstar=hcstar,fun1=func2))
I have scheduled the task to run every 5 min.I can see the task is changing the status as ASSIGNED-->QUEUEDBut I do not see the record being inserted into db.scheduler_runAlso function fun1 is not being called.Can anybody help.--Thanks,Suhas
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/33d86058-a557-49c6-9f7a-60cda9cdc030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HI Dave,How do I make hcstar as a task. What is wrong in my code?Thanks,Suhas
To unsubscribe from this group and stop receiving emails from it, send an email to web...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/33d86058-a557-49c6-9f7a-60cda9cdc030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Thanks,Suhas