On Fri, May 29, 2015 at 2:11 PM, Christoph Harder <[email protected]> wrote:
> However, the periodic scripts you where writing about are something custom,
> not enabled by default, correct?
> Or is it something Dragonfly BSD ships? If so, I guess there must be some
> place to configure to which adress and server the messages are sent, right?

The periodic scripts are part of DragonFly -

http://leaf.dragonflybsd.org/cgi/web-man?command=periodic.conf&section=ANY

The part you are possibly interested in is:

 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 instance, I have:

daily_output="/var/log/daily.log"
daily_status_security_output="/var/log/security.log"
weekly_output="/var/log/weekly.log"
monthly_output="/var/log/monthly.log"

In my periodic.conf.  I think they will automatically get rotated, too.

Reply via email to