Daily/weekly/monthly output aggregation

Andy Farkas andyf at speednet.com.au
Mon Nov 17 14:52:35 PST 2003


Damian Gerow wrote:

>     b) This is a pretty big problem that nothing has addressed yet.

periodic(8) can be told to send its output to a file.

'man periodic.conf' says:

   dir_output
       (path or list) What to do with the output of the scripts envoked
       from the directory dir.  If this variable is set to an absolute
       path name, output is logged to that file, otherwise it is taken
       as one or more space separated email addresses and mailed to
       those users.  If this variable is not set or is empty, output is
       sent to standard output.

       For an unattended machine, suitable values for daily_output,
       weekly_output, and monthly_output might be
       ``/var/log/daily.log'', ``/var/log/weekly.log'', and
       ``/var/log/monthly.log'' respectively, as newsyslog(8) will
       rotate these files (if they exists) at the appropriate times.

So, in conjunction with newsyslogd, the problem has been "addressed".

--

 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/




More information about the freebsd-isp mailing list