Dear community, I am working on a school project and my team is working with web2py.
I have written a Python script that is supposed to run n background, because it takes several minutes. First, I wanted to use Homemade Task Queues, because they are simple and sufficient. But there is one problem: I need the background script checking the database-queue to run simultaneously with the web server. But as the script is executed with: web2py -S app -M -R path/to/queue_script.py I cannot start the web server at the same time (it just does not work). Another problem with the -S option is, that it (as far as I understand) opens a shell. I want to run the server as a systemd service, but executing web2py with -S option ends up with systemctl start to run into a timeout, or just stay in the status "activating", without finishing starting. Is there a way to run the background script simultaneously with the web server? And is there a way to run it in a way, that systemd finishes and does not run into timeout? If not, is the web2py Task scheduler the best way to solve the problem? Thank you -- 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.

