Date: Thu, 08 Dec 2005 05:39:45 -0500 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: cron Message-ID: <20051208053520.DDE0.GERARD@seibercom.net> In-Reply-To: <200512080123.25189.akbeech@gmail.com> References: <200512080123.25189.akbeech@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul <akbeech@gmail.com> Subject: cron Wrote these words of wisdom: > I have a script that is running in root's cron. The script runs successfully, > but it emails me on completion with info I don't need. Is there a command I > can add to have it not mail? I don't want to shut off all crons mail, just > that one job. The only thing I could find in the man pages deal with mail > globally. > > TIA, > > Beech > -- > > --------------------------------------------------------------------------------------- > Beech Rintoul - System Administrator - akbeech@gmail.com > /"\ ASCII Ribbon Campaign | NorthWind Communications > \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 > X - NO Word docs in e-mail | Anchorage, AK 99501 > / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com > --------------------------------------------------------------------------------------- > ***** REPLY SEPARATOR ***** On 10/11/2005 5:29:42 PM, Gerard Replied: Append this. sans quotation marks, to the end of the command: ">/dev/null 2>&1" That should do the trick. -- Gerard Seibert gerard@seibercom.net Only one shopping day left until tomorrow!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208053520.DDE0.GERARD>