that's the one in the header comments on the scheduler.py itself.
Given that upstart is present in your ubuntu version it's definitely the 
shortest way (and simple, also) to run a service.

On Thursday, April 4, 2013 11:57:01 PM UTC+2, Yoel Benitez Fonseca wrote:
>
> i have found this script in the web: 
>
>
> ==== /etc/init/web2py-scheluder.conf ==== 
> description "web2py task scheduler" 
> start on (local-filesystems and net-device-up IFACE=eth0) 
> stop on shutdown 
>
> respawn 
> exec sudo -u www-data python /home/www-data/web2py/web2py.py -K myapp 
> ========================================== 
>
> Is this the best way in ubuntu ? 
>
> Is necessary some aditional parameters to respawn ? 
> -- 
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to