frozenpeas
Technical User
Hi. I am running Red Hat 7 and want to run Webalizer every day at 12:05 am. Here is my crontab:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# sysstat
0 * * * 0,6 /usr/lib/sa/sa1 600 6 &
5 19 * * * /usr/lib/sa/sa2 -A &
# webalizer (run every day at 12:05 am)
5 0 * * * /usr/src/webalizer/webalizer -c /etc/webalizer_domain1.conf
5 0 * * * /usr/src/webalizer/webalizer -c /etc/webalizer_domain2.conf
My paths are correct and my lines do not wrap. So far, I have to manually run Webalizer...
Thanks.
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# sysstat
0 * * * 0,6 /usr/lib/sa/sa1 600 6 &
5 19 * * * /usr/lib/sa/sa2 -A &
# webalizer (run every day at 12:05 am)
5 0 * * * /usr/src/webalizer/webalizer -c /etc/webalizer_domain1.conf
5 0 * * * /usr/src/webalizer/webalizer -c /etc/webalizer_domain2.conf
My paths are correct and my lines do not wrap. So far, I have to manually run Webalizer...
Thanks.