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:
@ranjith, I think that you may be confusing the difference between Unix/Linux
cron https://en.wikipedia.org/wiki/Cron and the
cronhttp://web2py.com/books/default/chapter/29/04/the-core?search=cron#Cron
provided by web2py which are two different things. What @Marin is meaning
is that you'd
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
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():
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 ranjith2...@gmail.com
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
6 matches
Mail list logo