Re: [web2py] Re: web2py scheduler not working

2013-10-24 Thread Brian M
@ranjith, I think that you may be confusing the difference between Unix/Linux cron and the "cron" provided by web2py which are two different things. What @Marin is meaning is that you'

Re: [web2py] Re: web2py scheduler not working

2013-10-24 Thread Marin Pranjić
Why can't you add that line in cron? I don't get it. Scheduler WILL be running if you do it, you just need a full path to web2py.py. Did you even try? What wasn't working? Anyway there is another way to start scheduler in background: http://web2py.com/books/default/chapter/29/13/deployment-recipes

Re: [web2py] Re: web2py scheduler not working

2013-10-23 Thread ranjith
Is that not possible? On Wednesday, 23 October 2013 11:13:53 UTC+5:30, ranjith wrote: > > Thanks for the response. > > Other than the below script, it was mentioned in the document that > scheduler workers can be started via cron@reboot > The scheduler does not use cron, although one can use cron

Re: [web2py] Re: web2py scheduler not working

2013-10-22 Thread ranjith
Thanks for the response. Other than the below script, it was mentioned in the document that scheduler workers can be started via cron@reboot The scheduler does not use cron, although one can use cron @reboot to start the worker nodes. I am just starting to work on web2py. So, sorry for ignorance

Re: [web2py] Re: web2py scheduler not working

2013-10-22 Thread Marin Pranjić
You are not supposed to add entries to scheduler_worker. You need to run scheduler in the background. python web2py.py -K myapp Detailed explanation here: http://web2py.com/books/default/chapter/29/04/the-core#Scheduler Marin On Tue, Oct 22, 2013 at 8:25 PM, ranjith wrote: > I tried changin

[web2py] Re: web2py scheduler not working

2013-10-22 Thread ranjith
I tried changing the worker table status to active/pick and others. It didnt work On Tuesday, 22 October 2013 23:53:24 UTC+5:30, ranjith wrote: > > Hi, > > I have a model file called scheduler.py which has > > from gluon.scheduler import Scheduler > def messageTask(): > mail.send(to=['ranjith