the scheduler is running fine. In the data you pasted here there's the reason why the scheduler isn't picking up any new task. times_run is 3 and repeats is set to 3, so the task got executed 3 times already.
Sidenote: append a "return 1" to your function, so you'll get scheduler_run records holding more details about the executions, until you figure out the issues you're having on what to choose when you queue the task. Also, please do sched = Scheduler(db, dict(fun=func)) sched.queue_task('func', uuid='test_insert', repeats=3, period=10) without any worker running, so you can see what is inserted into the scheduler_task table correctly. Execute the sched.queue_task just one time only (if you put that in models, it will be executed at every request and that would be inefficient) -- 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.