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

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



Pann McCuaig wrote:

[snip]


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.


Well, that's true. I didn't know what level of stuff he'd want.

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens vitalstream com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
-           Denial.  It ain't just a river in Egypt anymore!         -
----------------------------------------------------------------------





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