Re: [web2py] Re: Create a service running continuously

2018-09-15 Thread Maurice Waka
Hi Paul. I just came across this. Could you please sh ate the code. I have a similar problem of not getting a continuous loop. Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/iss

Re: [web2py] Re: Create a service running continuously

2016-03-06 Thread Paul Gerrard
Hi thanks for the suggestions. Sorry for not responding sooner. I figured a way of working and been working abroad for a few days...) so I haven't tried your suggestions. What worked for me was I wrote a service that returned the contents of a table that define the bot commands and called it using

[web2py] Re: Create a service running continuously

2016-03-02 Thread Ian Ryder
Sounds like you just need some sort of never ending loop (obviously you can put checks in the loop for stop requests and whatever other complexity you like / need). You can pass arguments on the python command line. So for example you could do something like: python web2py.py -S your_app -M -A