From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 10:40:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB33C16A41F for ; Thu, 8 Dec 2005 10:40:00 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp3.suscom.net (smtp3.suscom.net [64.78.119.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24CC43D49 for ; Thu, 8 Dec 2005 10:39:50 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp3.suscom.net (Postfix) with ESMTP id 300EE2108FC for ; Thu, 8 Dec 2005 05:39:48 -0500 (EST) Received: from smtp3.suscom.net ([127.0.0.1]) by localhost (smtp3.suscom.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01280-03-2 for ; Thu, 8 Dec 2005 05:39:41 -0500 (EST) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp3.suscom.net (Postfix) with SMTP id 6C5902101A7 for ; Thu, 8 Dec 2005 05:39:41 -0500 (EST) Received: from [192.168.0.2] (//gerard [192.168.0.2]) by seibercom.net (8.13.4/8.13.4) with ESMTP id jB8AdgtN051446 for ; Thu, 8 Dec 2005 05:39:42 -0500 (EST) (envelope-from gerard@seibercom.net) Date: Thu, 08 Dec 2005 05:39:45 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom.net In-Reply-To: <200512080123.25189.akbeech@gmail.com> References: <200512080123.25189.akbeech@gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20051208053520.DDE0.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.23 [en] X-Virus-Scanned: amavisd-new at suscom.net Subject: Re: cron X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 10:40:00 -0000 On Thursday, December 08, 2005 5:23:10 AM, Beecher Rintoul 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!