On Wed, Nov 26, 2003 at 11:55:54AM -0600, Chris wrote:
[ Redirecting output of cron jobs ]

> Very cool! Now, what if you do the same, but instead of the normal 
> crons, can something like this be done with the /etc/periodic/daily, 
> weekly, and monthly routines?

If you don't have one already, create a /etc/periodic.conf file, and
within it set some variables:


This will direct the output to those log files, rather than e-mailing
to root.  If you use precisely those file names, the log files will be
automatically cycled by newsyslog(8).

Refer to /etc/defaults/periodic.conf for all the other stuff you can
modify.  /etc/periodic.conf has exactly the same relation to
/etc/defaults/periodic.conf as /etc/rc.conf does to



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to