the scheduler doesn't need a decorator... for your own organization you 
can,e.g., put all the functions in one model file, or use comments ^_^

with 
web2py.py -a yourpassword -K appname -X
you can start in one command the webserver and the scheduler processes. 

On Thursday, June 5, 2014 12:24:23 PM UTC+2, Ramos wrote:
>
> Just kiding ....
>
> is this simpler ?
>
> @task(* * * * *)
> def myfunc():
>     bla bla bla
>     .....
>
> It would be easier to detect a function under a schedule
>
> also can i stark the -K for the scheduler in the same command line as the 
> initial load of the web2py ?
>
> Regards
> António
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to