Hi,

I have following code

def fun1:
    do something
    returns locals()

I have below code in scheduler.py

def 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-->QUEUED
But I do not see the record being inserted into  db.scheduler_run
<http://10.184.96.105/bot/appadmin/select/db?query=db.scheduler_run.id%3E0>
 Also 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAM9jc1CDS1XN6YvfYFoaQ__j-bV4HtCRbr%3DK0OJzz4V7mwx4wQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to