Shadrack Posted April 20, 2004 Share Posted April 20, 2004 this is my /etc/crontab file: SHELL=/bin/ksh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin MAILTO=root HOME=/ #run-parts # mounts //reByte/BACKUPS to /reByte at 5:00 (unmounts first) #min hour day 01 17 * * * root /usr/local/sbin/unshlight /reByte 02 17 * * * root /usr/local/sbin/shlight //rebyte/BACKUPS /reByte -n 03 17 * * * root umount /tfbackup 04 17 * * * root mount /dev/wd1a /tfbackup 05 17 * * * root rsync -va /reByte/* /tfbackup 12 9 * * * root echo this is a test the last entry was suppose to send me an email that says "this is a test" at 9:12 AM every morning, correct? But I haven't received an email. ps shows that "cron" is running. Please guide me. Thank you! -Nic Link to comment Share on other sites More sharing options...
kemical Posted April 20, 2004 Share Posted April 20, 2004 doesnt echo just print the text to the console? i see you have the variables defined, so does that mean the previous cron jobs get emailed to you as well? Link to comment Share on other sites More sharing options...
Shadrack Posted April 20, 2004 Author Share Posted April 20, 2004 I was in the wrong crontab file. I figured it out. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts