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

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



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

----------------------------------------------------------------------
- Rick Stevens, SSE, VitalStream, Inc.      rstevens vitalstream com -
- 949-743-2010 (Voice)                    http://www.vitalstream.com -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------





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