need some crontab help in openbsd


Recommended Posts

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

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.