Do you mean the web2py scheduler? 

Using sudo or as root create a file yourapp-scheduler.service in 
/etc/systemd/system and put this there:

[Unit]
Description=Your App Scheduler Service

[Service]
ExecStart=/usr/bin/python /home/www-data/web2pydir/web2py.py -K yourapp
Type=simple

[Install]
WantedBy=multi-user.target


Remember to replace yourapp with your web2py application's name. web2pydir 
with the directory of the web2py installation where your app is running and 
www-data with the home directory where the web2py installation actually is.

Then
sudo systemctl start yourapp-scheduler.service


-- 
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.

Reply via email to