bash: check for network

Benjamin Schmuhl schmuhl at minglematch.com
Thu Apr 14 16:27:40 MDT 2005


C. Ed Felt wrote:

> If you add ">> /pathToSomeLogFile" or even "> /pathToSomeLogFile" (if 
> you don't want to track this) at the end of your cron command you can 
> avoid those annoying emails.  This makes cron save what it normally 
> emails you to a log file.

Or for those who don't care to know, tack the following on to the end:

 >/dev/null 2>&1

-- 
Benjamin Schmuhl
MingleMatch, Inc.




More information about the PLUG mailing list