I'm still struggling with how to deploy cron in production.

I currently have a crontab on my production server set up with:

0-59/1 * * * * cd /var/web2py && python web2py.py -C -D 1 >> 
/tmp/cron.output 2>&1

And a couple tasks in my web2py crontab:
*/1 * * * * root *cron/email_watchlist
0 2 * * * root *cron/google_feed

It seems like the */1 tasks get run but not the 0 2 one.

I'm about to give up and just wget URLs:
*/1 * * * * wget http://localhost/cron/email_watchlist >/dev/null 2>&1
00 2 * * * wget http://localhost/cron/google_feed >/dev/null 2>&1

Is this how external cron is supposed to work? What are other people doing 
that works? Any suggestions?

Reply via email to