[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Cron/Fetchmail mail
- From: gregory mott <gmott ntlworld com>
- To: redhat-list redhat com
- Subject: RE: Cron/Fetchmail mail
- Date: Mon Jun 30 16:45:12 2003
On Mon, 2003-06-30 at 12:02, Cowles, Steve wrote:
> > From: Edward Dekkers
> > Sent: Monday, June 30, 2003 4:41 AM
> >
> > I have put in a crontab:
> > */30 * * * * /usr/bin/fetchmail > /dev/null
> >
> > This works great unless there are errors, then they are mailed to the
> > crontab owner.
> >
> > Can they be suppressed completely? Even when there's an error?
>
> I would think fetchmail is outputting any errors to stderr. The above
> crontab entry is only redirecting stdout, not stdout and stderr.
>
> Try: */30 * * * * /usr/bin/fetchmail >/dev/null 2>&1
i think fetchmail is silent to stdout/err when you tell it to log to
syslog instead. fwiw i also run it as daemon instead of relaunching it
all the time.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]