I need run a script which for marked records in one table creates "indexing" or "helpers" records in another table. This script should: - switch this activity and sleep(10) /should sleep after it will not find any marked record/ - run always - run in 1 instance only /to avoid indexing of same records from 2 instances/
I decide to solve it as systemd service. My QUESTION IS: Is this good decision, or should I use something web2py specific (scheduler?) ? ----------------- If somebody is interested in the "systemd service" solution, I made in based on this article: http://www.raspberrypi-spy.co.uk/2015/10/how-to-autorun-a-python-script-on-boot-using-systemd/ ...and I have added into the [service] section: Restart=on-failure -- 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.