cron recipe error
Chris Dawson
xrdawson at gmail.com
Wed Feb 22 17:40:14 UTC 2006
5 1 * * 0 /home/cdawson/script.rb > /home/cdawson/`date "+%Y-%m-%d"`.log
I want this to run on Sundays at 1:05 am. The script is executable.
It doesn't seem to run, and nothing is logged in the log file. Any
idea why?
I think that I tried things like:
5 1 * * sun /home/cdawson/script.rb > /home/cdawson/`date "+%Y-%m-%d"`.log
But this didn't work either. After reading the man page, maybe "sun"
was capitalized. Can anyone tell me the correct recipe?
Either way, it seems like the first one should run. Man page says "0
or 7 is Sun..."
Thanks,
Chris
More information about the ubuntu-users
mailing list