Sample of my /etc/crontab that isn't working..?
<-----Begin File----->
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
00 12 * * * /root/sc*/burn.sh
00 15 * * * /root/sc*/burn.sh
00 17 * * * /root/sc*/burn.sh
00 20 * * * /root/sc*/burn.sh
00 22 * * * /root/sc*/burn.sh
00 24 * * * /root/sc*/burn.sh
<------END------->
I'm having problems with the lines that attempt to run burn.sh. This is a shell script that I made to sort through my logs and message me if their are intrustion attempts. I scheduled this program, /home/scripts/burn.sh , in crontab to run throughout the day. However it doesnt' seem to work, and I really don't want to resort to the cron.daily or the "at" command.
I want burn.sh to run every day at noon,3,5,6,10,12.
Any suggestions are well appreciated.
Fusion
Last edited by stakhous; 04-27-2004 at 04:27 PM.
|