From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 09:25:20 2004 Return-Path: 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 0645E16A4CE for ; Thu, 4 Mar 2004 09:25:20 -0800 (PST) Received: from mirrorball.theloosingend.net (m069c.studby.ntnu.no [129.241.130.69]) by mx1.FreeBSD.org (Postfix) with SMTP id F295643D2D for ; Thu, 4 Mar 2004 09:25:18 -0800 (PST) (envelope-from svein-freebsd-questions@theloosingend.net) Received: (qmail 27242 invoked by uid 1001); 4 Mar 2004 17:25:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Mar 2004 17:25:17 -0000 Date: Thu, 4 Mar 2004 18:25:17 +0100 (CET) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@mirrorball.theloosingend.net To: questions@freebsd.org In-Reply-To: Message-ID: <20040304182311.V26851@mirrorball.theloosingend.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: crontab email X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 17:25:20 -0000 [Brian Henning, 2004-03-04] > Everytime something runs from the the crontab for a given user such as root, I > get an email with the results of the execution. I am running a few crontabs that > run every 2 minutes and this gets to be a lot of excess email. How can I turn > off this feature. You only get mail if the script produces any output. Put a >/dev/null at the end of the commandline, and you will only get mail when something is written to stderr, not stdout. Svein Halvor