Matthew Seaman m.seaman at
Wed Nov 26 10:09:31 PST 2003

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:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list