Example: http://movu.ca/demo/article/show/31/web2py-cron-task
My first try in movu.ca :-) On Mon, Feb 27, 2012 at 2:32 PM, Sanjeet Kumar <sanjeet....@gmail.com>wrote: > Exactly I need the examples > > > On Mon, Feb 27, 2012 at 4:56 AM, Luciano Pacheco <lucm...@gmail.com>wrote: > >> I think Sanjeet means, I example of the task. >> >> What is a good practice in the task, or what kind of variables are >> present in the local namespace "automagically", etc. A task should be a >> class a function, a python module? >> >> I had the same question last week when I was reading this chapter. :-) >> >> Regards, >> -- >> Luciano Pacheco >> blog.lucmult.com.br >> >> On Mon, Feb 27, 2012 at 10:08 AM, Alan Etkin <spame...@gmail.com> wrote: >> >>> It's all in the book (if you haven't seen yet) >>> >>> http://web2py.com/books/default/chapter/29/4#Cron >>> >>> By the way, The link in web2py to cron (http://web2py.com/books/ >>> default/reference/29/cron<http://web2py.com/books/default/reference/29/cron>) >>> is broken (returns an invalid function >>> message) >>> >>> On 26 feb, 13:09, Sanjeet Kumar <sanjeet....@gmail.com> wrote: >>> > Can anyone give me the brief description to how I set the cron to run >>> the >>> > task in background with example. >>> >> >> >> >> > -- Luciano Pacheco blog.lucmult.com.br