why don't you schedule two separate services (the webserver and the scheduler), so the issues will be easier to track down ? what's in the logs ?
On Tuesday, September 10, 2013 1:42:11 PM UTC+2, ajith c t wrote: > > Hi All, > > I have a scheduler in my app in the models folder with some specific > task. I need to run the app as a service in the server. I cant figure out > how to run start the web2py with the arguments. > > > script > exec python -- /srv/tv-fe/web2py.py -K app -X --nogui -p 8000 -i > 0.0.0.0 -a '' & > end script > > The above script is used to run the app. Upon running it , it doesnt > generate error, but the worker is not created in the scheduler_worker > table. So none of my task gets executed. > > Where am I getting wrong with the parameters > > Thanks and regards > Ajith > > -- 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/groups/opt_out.