[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

crontab just wont stop mailing ... !



This is a re-posting for a very frustrating problem. I have dial on demand 
via pppd, works like a dream. However  I have problems with crontab.

Every so oftern it decides to mail its output, it does not know where it is 
supposed to mail, starts a ppp link and talks to the web.

I have set MAILTO="", MAILTO=root all to no avail


/var/log/syslog

Jan 30 07:23:55 debian anacron[249]: Job `cron.weekly' started
Jan 30 07:23:55 debian anacron[611]: Updated timestamp for job `cron.weekly' 
to 2003-01-30
Jan 30 07:24:01 debian syslogd 1.4.1#10: restart.
Jan 30 07:24:01 debian anacron[249]: Job `cron.weekly' terminated (mailing 
output)
Jan 30 07:24:01 debian pppd[189]: Starting link
Jan 30 07:24:29 debian pppd[189]: Serial connection established.
Jan 30 07:24:29 debian pppd[189]: Connect: ppp0 <--> /dev/modem

My /etc/crontab now looks like ...

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# m h dom mon dow user	command
25 6	* * *	root	test -e /usr/sbin/anacron || run-parts /etc/cron.daily
47 6	* * 7	root	test -e /usr/sbin/anacron || run-parts /etc/cron.weekly
52 6	1 * *	root	test -e /usr/sbin/anacron || run-parts /etc/cron.monthly
#

I thought I had cured the problem until it did it again tonight !!!
do I need to do something with the crontab command ??

any ideas
Dave



Reply to: