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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to