[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Cron/Fetchmail mail
- From: "Cowles, Steve" <Steve SteveCowles com>
- To: "'redhat-list redhat com'" <redhat-list redhat com>
- Subject: RE: Cron/Fetchmail mail
- Date: Mon Jun 30 07:02:01 2003
> -----Original Message-----
> From: Edward Dekkers
> Sent: Monday, June 30, 2003 4:41 AM
> Subject: Cron/Fetchmail mail
>
>
> This should be simple, but I'm not sure what to search on with google
> (whatever I tried was irrelevant to my situation).
>
> 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
Steve Cowles
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]