it will be stopped as soon as possible. There's no way to make by default a scheduler "timeout-less" just cause it's a very bad idea (a job-processor with no timeouts "impersonate" the "bad-design" it tries to defeat in the first place)
If you need to run processes that may never stop, rely on your system's cron. BTW, this doesn't stop you to set timeout=999999: if your job doesn't stop in 11 days since you started, it's probably an unuseful job. tl;dr: it's a bad choice, but you need to make it explicitely. On Wednesday, April 3, 2013 7:36:58 PM UTC+2, Yoel Benitez Fonseca wrote: > > El 31.3.2013 11:44 pm, Massimo Di Pierro escribió: > > You can choose the timeout when you queue a task. > > > > is possible disable time_out in scheluder ? if time_out = 0 what will > be the result ? > > > > On Sunday, 31 March 2013 21:33:47 UTC-5, Yoel Benitez Fonseca wrote: > >> > >> On 31.3.2013 10:04 pm, Massimo Di Pierro wrote: > >>> The point of the scheduler it that for every worker it runs one task > >>> at the > >>> time. tasks are queued and picked up by worker. Each worker picks up > >>> a > >>> task, and when completed (or failed) posts results, if necessary > >>> queues new > >>> tasks, thank picks up the next task. > >>> > >>> This is different from cron. cron always start tasks at scheduled > >>> times > >>> even if other tasks are in execution. The cron model has the problem > >>> that > >>> withut a limit to the number of concurrent tasks you can easily run > >>> out of > >>> memory. > >> > >> yep, this difference is clear, the problem for me is the duration of > >> the task, transcoding videos should have big timeout. > >> > >> thnks massimo > >> > >>> On Sunday, 31 March 2013 20:44:23 UTC-5, Yoel Benitez Fonseca wrote: > >>>> > >>>> I have some doubts about using Scheluder: > >>>> > >>>> How would it be to run long not repetitive tasks? for example, > >>>> video > >>>> transcode. What parameters should I consider in the call to > >>>> queue_task? > >>>> Suppose I have to transcode a video and do two consecutive calls to > >>>> queue_task, Will initiate the two tasks simultaneously or it wait > >>>> to > >>>> terminate the first to do the next? > >>>> > >>>> -- > >>>> Yoel Benítez Fonseca > >>>> Tel: 573400 > >>>> > >> > >> -- > >> Yoel Benítez Fonseca > >> Tel: 573400 > >> > > -- > Yoel Benítez Fonseca > Tel: 573400 > -- --- 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.

