Date: Sat, 13 Jul 2002 13:40:48 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Hans Lambermont <hans@lambermont.dyndns.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Empty (weekly) run messages Message-ID: <20020713124048.GA21669@happy-idiot-talk.infracaninophi> In-Reply-To: <20020713134636.C77384@moya.lambermont.dyndns.org> References: <20020713134636.C77384@moya.lambermont.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020713124048.GA21669>
