[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to dump cron messages to /dev/null



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]