[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to dump cron messages to /dev/null
- From: Pann McCuaig <pann civilution com>
- To: redhat-install-list redhat com
- Subject: Re: How to dump cron messages to /dev/null
- Date: Tue, 6 Nov 2001 14:24:30 -0500
On Tue, Nov 06, 2001 at 10:55, Rick Stevens wrote:
> karlp ourldsfamily com wrote:
>
> > To alleviate the problem for other cron uses that don't have the -d (daemon)
> > option, you can put > /dev/null at the end of your cron line. That's what I
> > do to alleviate my inbox being jammed.
>
>
> Actually, you should use ">/dev/null 2>&1" (which also redirects
> stderr to /dev/null).
"should" may be a little strong here. I don't want noise in my mailbox,
but if stderr from a cron job is generating such noise, then it's likely
something is misconfigured somewhere. IMHO, YMMV, etc.
Cheers,
Pann
--
Civilution LLC
Tools for Evolving Civilizations
http://www.civilution.com/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]