Thanks for the support. Yeah I will workout the steps you said one by one 
and breakdown the problem.

Just a  doubt, 

" ok. the scheduler from the console runs right. Now you have to test if 
queuing a task from web2py gets the task processed. "

Since I am having a load balancer, and the web2py folder is in another 
server, when running directly, I believe I will have to queue the task from 
the model file itself. Am I correct (as I wont be getting the controller of 
the app browser)


 " Then you can do the same thing with the scheduler started by upstart, 
and verify that it's working "

Which will be the better one, using the command 
  exec python -- /srv/trustvouch-fe/web2py.py --nogui -a  -p 8000 -i 
0.0.0.0 -K app -X  

or having two upstart jobs (and I am not sure if these are the commands to 
start, can you confirm it also)
 one to run the app
  exec python -- /srv/trustvouch-fe/web2py.py --nogui -a  -p 8000 -i 
0.0.0.0 

 and one to start the scheduler
 exec python -- /srv/trustvouch-fe/web2py.py  -K app


On Wednesday, 11 September 2013 20:35:25 UTC+5:30, Niphlod wrote:
>
> ok. the scheduler from the console runs right. Now you have to test if 
> queuing a task from web2py gets the task processed. Then you can do the 
> same thing with the scheduler started by upstart, and verify that it's 
> working.
> Next is to verify that you can queue tasks from the web2py web server 
> started by upstart.
> Next to verify that the task queued gets processed by the scheduler in the 
> console
> Next to verify that it gets processed by the scheduler in upstart
>
> Something along the way should reveal where the breakage that you 
> experiment using both the webserver and the scheduler in upstart ^_^
>

-- 
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.

Reply via email to