Hello, I am running a scheduler that I would like to timeout the
scheduler_run on a failed execution of my function so that it will attempt
to retry running it.
try:
attempt to run my code
except:
failed to run, timeout scheduler_run to reattempt
Also I have parameters that when a value has been met I would like to
remove the users scheduled task.
if views >= amount:
update the db
remove scheduler_task
I am not sure how to do this or if timing out the scheduler is the best
practice and would appreciate any help.
*cheers
Andrew
--
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/d/optout.