As a follow up question. Is it safe for me to mark the task as COMPLETED manually by updating the schedular_task or schedular_run table? Its not clear to me which one. I thought about using stop_task() but that did not appear to work, plus it seems silly to have the task marked as failed when it clearly did not fail.
Thanks, Brad On Friday, August 15, 2014 9:27:55 AM UTC-5, Brad Miller wrote: > > Hi, > > I've been using the scheduler quite successfully for a while now. But > lately I've been getting TIMEOUTS on tasks that are successfully running to > completion. I know this because: > > 1. I've added my own file mechanism to show that I made until the end, > plus I can see that the results of the scheduled task are correct. > 2. I've turned on logging and I can see: > > 2014-08-15 09:14:06,617 - web2py.scheduler.zebra.local#34260 - DEBUG - > ........recording heartbeat (RUNNING) > 2014-08-15 09:14:09,172 - web2py.scheduler.zebra.local#34231 - DEBUG - > defining tables (migrate=True) > 2014-08-15 09:14:09,631 - web2py.scheduler.zebra.local#34260 - DEBUG - > ........recording heartbeat (RUNNING) > 2014-08-15 09:14:12,151 - web2py.scheduler.zebra.local#34231 - DEBUG - > defining tables (migrate=True) > 2014-08-15 09:14:12,635 - web2py.scheduler.zebra.local#34260 - DEBUG - > ........recording heartbeat (RUNNING) > 2014-08-15 09:14:14,757 - web2py.scheduler.zebra.local#34260 - DEBUG - > new task report: COMPLETED > > However as I monitor the database tables the task staying in RUNNING mode > for the full five minutes until it then goes into TIMEOUT. > > This is driving me crazy. Is there some way I can debug this? I've tried > various (stable) versions of web2py and am getting the same result. > > Thanks, > > Brad > > > -- 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.