cron not running my command?
Bob Ababurko
ababurko at adelphia.net
Mon Sep 20 10:44:23 PDT 2004
Hey there-
I am running FreeBSD 5.2.1 and I have a cron job running
webalizer. The cron job seems to be running based on the log, but the data
is not being updated in the directory. I do believe that I can say that
the webalizer is configured correctly because if I run the command that is
listed in cron by hand, the output is sent to the proper place. Here are
some l0og entries and the crontab itself:
europa# crontab -l
0 * * * * /etc/cron.daily/ntpdate.cron > /dev/null
*/5 * * * * /usr/sbin/webstats
europa# tail /var/log/cron
Sep 20 13:25:00 europa /usr/sbin/cron[51173]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:26:02 europa crontab[51199]: (root) LIST (root)
Sep 20 13:30:00 europa /usr/sbin/cron[51274]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:30:00 europa /usr/sbin/cron[51273]: (root) CMD (/usr/sbin/webstats)
Sep 20 13:33:00 europa /usr/sbin/cron[51332]: (operator) CMD
(/usr/libexec/save-entropy)
Sep 20 13:34:35 europa crontab[51387]: (root) LIST (root)
Sep 20 13:35:00 europa /usr/sbin/cron[51394]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:35:00 europa /usr/sbin/cron[51393]: (root) CMD (/usr/sbin/webstats)
Sep 20 13:40:00 europa /usr/sbin/cron[51468]: (root) CMD (/usr/libexec/atrun)
Sep 20 13:40:00 europa /usr/sbin/cron[51467]: (root) CMD (/usr/sbin/webstats)
I am confused on where I should look now. Any suggestions would be
appreciated.
/bob
More information about the freebsd-questions
mailing list