Trouble with crontab and MAILTO= Hello, Something amiss here as I receive no mail from cron (using
mailx). Haven't been able to figure it out. Your help would be greatly
appreciated.
Below is crontab - is MAILTO= right for user name only or is there a
path needed to /var/spool/mail/cmo or ~/ ? Anything else I ought to
change?
# for vixie cron
#
#$Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/files/crontab-3.0.1-r4,v$
#
#
# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=cmo
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons
&& /usr/sbin/run-crons
--
oNb
Another happy Linux user - # 276084.
Reject religion ! Embrace Jesus Christ. |