Hello again Leonel. I'm reading the Scheduler section in web2py docs and I'm a bit confused:
- To use the scheduler in a module what should i do? Create a scheduler.py model and pass the scheduler created in the model to the function in my module as I do with my db? - Can I start and stop the task whenever I want? It seems that I have to insert the task in my db but I don't now when this task will be called because it depend on a certain event and maybe it never happens or it happens 500 times an hour. Thank you again! On Monday, July 7, 2014 3:51:34 PM UTC+2, Wonton wrote: > > Oks, then I will study the scheduler and I will try to implement it. > > Thank you very much for the suggestion. > > On Monday, July 7, 2014 1:39:57 PM UTC+2, Leonel Câmara wrote: >> >> Yes you can use the DAL inside the scheduler without any problem, the >> only thing you need to pay attention to is to do a commit if you do any >> changes to the DB. >> > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.