Web2py Cron depreciado ?

60 views
Skip to first unread message

felipe...@tksolucoes.com.br

unread,
Jul 6, 2017, 8:54:02 AM7/6/17
to web2py-users
Li que o Cron no web2py está depreciado, isso traria problemas caso eu atualize meu projeto não é ? 

Qual é a alternativa para o procedimento ? 

Leonel Câmara

unread,
Jul 6, 2017, 10:49:46 AM7/6/17
to web2py-users
A alternativa é usar o scheduler do web2py ( http://www.web2py.com/books/default/chapter/29/04#web2py-Scheduler ), nota que podes não ter problemas continuando a usar o cron mesmo que isso não seja recomendado.

Da próxima vez, por favor escreve a tua pergunta em Inglês, repara que este grupo é internacional.

Marlysson Silva

unread,
Jul 8, 2017, 1:04:12 PM7/8/17
to web2py-users
Are you a brazilian developer? If so , a brazilian in core developer of web2py, it's great! ..

Leonel Câmara

unread,
Jul 8, 2017, 1:21:04 PM7/8/17
to web2py-users
I'm Portuguese actually :) but we had a few good Brazilian contributors in the past and I'm hoping we get more in the future.

Massimo Di Pierro

unread,
Jul 10, 2017, 3:36:51 AM7/10/17
to web2py-users
You can still use the system cron but we recommend the scheduler. The scheduler makes sure that two execution of the same task do not overlap. for example if a task is supposed to run every minute but the one running 3:21 has not finished by 3:22, we do not start it again until finished, to prevent possible database locking.
Reply all
Reply to author
Forward
0 new messages