Hi there
I have 2 script, one to do a back up and another to run a virsu scan on 2 folders. I've scheduled them to run every sunday in my /etc/crontab file. This is what i got in my /etc/contab file: [dlee@142 etc]$ vi 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 0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg 00 2 * * sun /root/scripts/virusScan.sh 00 1 * * sun /root/scripts/backup.sh however, it didn't seem to run for some reason. Now, upon looking at documentation it says i have to drop the scripts in one of the appropriate directories: "All the sysadmin needs to do is drop a shell script or a link to an executable in one of the directories and it will automatically be run at the appropriate time. " -http://www.redhat.com/support/resources/tips/cron/cron.html But, i thought that you could just add in the bottom 2 lines that are in my /etc/crontab file and it would execute the 2 specified scripts that i have in the root homem directory. Should i then take out the last 2 lines of of my /etc/crontab file and then use something like 'crontab -e' and edit a blank crontabl file to include the following 2 lines: 00 2 * * sun /root/scripts/virusScan.sh 00 1 * * sun /root/scripts/backup.sh Oh.. and both scripts work great... i've already made sure of this. Thanks Desmond -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list