From owner-freebsd-questions Sat Jul 13 5:40:58 2002 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 960CE37B400 for ; Sat, 13 Jul 2002 05:40:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 867AE43E3B for ; Sat, 13 Jul 2002 05:40:55 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6DCerbo021773; Sat, 13 Jul 2002 13:40:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6DCemN7021772; Sat, 13 Jul 2002 13:40:48 +0100 (BST) Date: Sat, 13 Jul 2002 13:40:48 +0100 From: Matthew Seaman To: Hans Lambermont Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Empty (weekly) run messages Message-ID: <20020713124048.GA21669@happy-idiot-talk.infracaninophi> References: <20020713134636.C77384@moya.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020713134636.C77384@moya.lambermont.dyndns.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 13, 2002 at 01:46:36PM +0200, Hans Lambermont wrote: > I'd like to be able not to receive empty * run messages like: > > Subject: xxxxx weekly run output > Cleaning up kernel database files: > Rebuilding locate database: > Rebuilding whatis database: > -- End of weekly output -- > > I know receiving empty stuff is information too, but I just don't want > to be cluttered with it. Is there a flag setting somewhere that prevents > stuff like this to be emailed in the first place ? You can create a file /etc/periodic.conf with: weekly_show_success="NO" in it, which should suppress output from weekly jobs that run without error. This won't stop you getting a weekly e-mail, but there will be less in it... Alternatively, you can use: weekly_output="/var/log/weekly.log" which will write all the output to a log file rather than sending you e-mail. See /etc/defaults/periodic.conf for all the knobs you can twiddle. It works analogously to /etc/defaults/rc.conf and /etc/rc.conf Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message