Re: [web2py] Re: Questions on the scheduler

2012-02-11 Thread Brian M
Viniciusban - if a scheduler task fails or times out then no it will not be run 
again unless you change the status back to queued. Guess it is good because it 
makes you handle possible errors and prevents runaway tasks, but rather 
annoying during testing since you must reenable after errors or if things 
happen to take longer than initially expected.



Re: [web2py] Re: Questions on the scheduler

2012-02-10 Thread Vinicius Assef
Yet on schedules, if my task failed or timed out, will web2py try to
run it next time?



On Fri, Feb 10, 2012 at 3:39 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
 Not sure I understand. You do not call scheduled_workers functions.
 You schedule tasks. Workers pick them up from queue an execute them
 using the available power.

 On Feb 10, 4:54 am, blackthorne francisco@gmail.com wrote:
 - Is it possible to call scheduled_workers functions asynchronously?
 How?
 - How should I adapt the behavior of a scheduled_worker as changing
 its model and adding new functionality?

 Thank you