I have a simple task to schedule: def f(): import time return() from gluon.scheduler import Scheduler Scheduler(db,dict(our_function=f))
When I run it with python web2py -K myapp, it gets stuck in "starting single-scheduler for "myapp"..." for long time and if I wait long enough it give "database is locked". While waiting if I try to go to the app in the browser it won't work. Now, if I run the app without scheduler (removing -K myapp), and I go to my scheduler table I can see that the task had run successfully (while it was not accessible) -- 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/d/optout.