[oclug] Disabling Cron E-Mail

tom tom at achilles.net
Thu Mar 1 19:03:20 EST 2001


ping xxx 1>/dev/null 2>/dev/null

should do the trick

On Thu, 1 Mar 2001, Collin McCrank wrote:

> I was wondering if there is a way to stop cron from e-mailing the owner
> of the cronjob.
> 
> Here is my situation.  I have a cronjob that runs a script to ping my
> gateway to keep my connection alive.  After the job is finished it sends
> an e-mail message to my root account.  As a result my root inbox is full
> of useless cron entries.  I would like to disable to e-mailing on only
> this job if possible because I already know if the job was successful if
> my connection is still alive.
> 
> Collin
> 

-- 
Tom Lauzon
tom at achilles.net
icq 73851193




More information about the OCLUG mailing list