On Friday, February 24, 2017 at 11:50:56 AM UTC-5, [email protected] wrote: > > Dear community, > > I am working on a school project, using web2py. I have a Python script, > that should be run in background, because it takes several minutes. > > First, I tried using Homemade Task Queues, because they were simple and > sufficient. But the problem is, to run the script checking the queue, one > needs to execute web2py with command line: > > web2py -S app -M -R path/to/queue_script.py > > There are to problems: > > 1. I need to run the web server simultaneously (-a option), but that > doesn't work (web2py -a password -S app -M -R ... doesn't work at all) > > You do not need to run the web server and the web2py shell using the same command -- you can separately run:
python web2py.py -a your_password and: python web2py.py -S your_app -M Anthony -- 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.

