How to disable timeout in scheduler?
I'm using scheduler to update availability of thing from supplier site.

So, I parse supplier's site, and when one url not loaded, scheduler task 
get status 'TIMEOUT' and stops all work. It's really bad, because there are 
thousands things in database, and I can't check every hour, if the 
scheduler stopped.
For now I just use second task to fix it:

def remove_timeout():
    db(db.scheduler_task.status=='TIMEOUT').update(status='QUEUED')
    db.commit()
    return True

But it's not a good solution.
Is there other way to solve the problem?
I just need task not stopped by timeout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to