I'm trying to schedule Webalizer to run every 15 mintues to update the web stats on my server. However, it doesn't seem to run. Currently, the only way that it updates my stats is if I do it myself by calling the command.
This is on FreeBSD 5.1.
Here's the code for the crontab.
Code:
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
*/5 * * * * root /usr/libexec/atrun
# The following entry is responsible for Webalizer Statistics
*/5 * * * * root /usr/local/www/webalizer/webalizer
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11 * * * * operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0 * * * * root newsyslog
#
# Perform daily/weekly/monthly maintenance.
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time. See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
After creating the new cron entry, I loaded it with the crontab crontab command, but it still doesn't work. Also, when passing the crontab -l command, it shows that the entry is loaded, but it still doesn't execute the directive. Any ideas?