You need two start web2py twice The backgroud process: python web2py.py -S ALTECH -M -N -R applications/ALTECH/private/ my_loop.py
Normal we2py: python web2py.py -a commsec -i 127.0.0.1 -p 8000 You want to be two separate processes so they do not interfere with each other. On Jul 4, 9:07 am, Valter Foresto <valter.fore...@gmail.com> wrote: > I follow the section 'Background Processes and Task > Queues<http://www.web2py.com/book/default/chapter/04?search=background+proce...>' > in the Core chapter of the Book, and launch using: > python web2py.py -a commsec -i 127.0.0.1 -p 8000 -S ALTECH -M -N -R > applications/ALTECH/private/my_loop.py > 'my_loop.py' print print datetime.datetime.now() any seconds and I see the > otput on the console by I'm not able to access 'http://127.0.0.1:8000/ > anymore. > Any idea or suggestion ? > Thanks in advance.