Re: crontab just wont stop mailing ... !
- To: Debian <email@example.com>
- Subject: Re: crontab just wont stop mailing ... !
- From: Dave Selby <firstname.lastname@example.org>
- Date: Sat, 1 Mar 2003 20:30:00 +0000
- Message-id: <20030301203749.JOBY4529.mta02-svc.ntlworld.com@there>
- Reply-to: email@example.com
- In-reply-to: <20030301030501.GD32460@misery.proulx.com>
- References: <20030301013840.TGPZ14341.mta03-svc.ntlworld.com@there> <20030301030501.GD32460@misery.proulx.com>
On Saturday 01 March 2003 3:05 am, Bob Proulx wrote:
> Dave Selby wrote:
> > 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.
> > Jan 30 07:24:01 debian anacron: Job `cron.weekly' terminated
> > (mailing output)
> > Jan 30 07:24:01 debian pppd: Starting link
> > Jan 30 07:24:29 debian pppd: Serial connection established.
> > Jan 30 07:24:29 debian pppd: Connect: ppp0 <--> /dev/modem
> At a guess something in /etc/cron.weekly/* is causing the trouble.
> > My /etc/crontab now looks like ...
> That just calls the scripts in /etc/cron.weekly and others. Check all
> of them, specifically weekly, and see what you see.
> > I thought I had cured the problem until it did it again tonight !!!
> > do I need to do something with the crontab command ??
> *Any* output from a crontab command is simply mailed to the owner of
> the crontab. In this case it looks like root.
> Why would mail access the network? Will diald start if you simply
> send a mail message? From the local user to the local user?
> Something does not seem right there. Perhaps it is configured for DNS
> to the net and therefore is spawning to look up a hostname? Perhaps
> you have a smarthost configured and it is forwarding? Just guesses.
> If that is the problem then you will need to deduce ways around the
> problem. It is normal for some crontabs to generate output which
> needs to be mailed. You won't want to completely prevent that.
mmm .. me thinks me is on the edge of my knolledge here. My dial on demand
links to the web if it does not recognise a web or email address. This works
To my understanding when /etc/cron.weekly is executed it obviously has
something to report, doesnt know the email address where it is supposed to
send it so dials the web ?
I guess my first step is to check to see if root has mail from cron.weekly,
because i set MAILTO=root ...
Anybody know where roots mail is kept ?
If you could let me know that, I will do more research and get back to you
guys. with more info ...