Any suggestions on getting external cron to work on Ubuntu 10.04? This is what I currently have but the jobs don't seem to run.
$ crontab -e 0-59/1 * * * * cd /var/web2py && python web2py.py -C -D 1 >> /tmp/cron.output 2>&1 $ tail applications/init/cron/crontab */1 * * * * root *cron/release_pending_orders Should that work? I've seen suggestions to disable cron when it runs off the regular web server with "-N" or "cron=False" or with "options.py" so as not to conflict with the cron jobs. I've also seen the suggestion to just put the cron logic in a controller and "wget" it which seems silly but workable. My cron.output loads up with these warnings or errors: WARNING:web2py.cron:WEB2PY CRON Call returned code 1: web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2011 Version 1.94.6 (2011-03-27 12:15:39) Database drivers available: SQLite3, pymysql, PostgreSQL Traceback (most recent call last): File "/var/web2py/web2py.py", line 19, in <module> gluon.widget.start(cron=True) File "/var/web2py/gluon/widget.py", line 794, in start import_models=options.import_models, startfile=options.run) File "/var/web2py/gluon/shell.py", line 194, in run execfile(cfile, _env) File "applications/init/controllers/cron.py", line 6, in <module> redirect(URL('default','user', args='login')) File "/var/web2py/gluon/http.py", line 126, in redirect Location=location) gluon.http.HTTP: 303 SEE OTHER