Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 1999 01:26:25 -0400 (EDT)
From:      Jim Cassata <jim@web-ex.com>
To:        pedro <pedro@crp.com.au>
Cc:        freebsd <freebsd-net@FreeBSD.ORG>
Subject:   Re: Cron and Email
Message-ID:  <Pine.BSF.4.10.9907150123420.5089-100000@homer.web-ex.com>
In-Reply-To: <19990714185225.61585@hydrogen.fircrest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> pedro scribbled this message on Jul 15:
> > I've got a cron running every 2 minutes and it mails me every 2 minutes.
> > Is there a switch
> > to tell the cron not to email me?
> 
> how about fix your cron job so it doesn't produce any output?
> 
Geez, I think that is what he is asking!!

put this at the end of the executable in your crontab file:
 > /dev/null 2>&1

it will redirect output to /dev/null

Jim Cassata

516.421.6000
jim@web-ex.com

Web Express
20 Broadhollow Road
Suite 3011
Melville, NY 11747



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907150123420.5089-100000>