> -----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


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to