Skip to content

Instantly share code, notes, and snippets.

@tonejito

tonejito/logwatch.conf

Last active Apr 26, 2016
Embed
What would you like to do?
Logwatch weekly reports
# In file /etc/logwatch/conf/logwatch.conf:
# Local configuration options go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf)
# The default detail level for the report.
# This can either be Low, Med, High or a number.
# Detail = High
# The default time range for the report...
# The current choices are All, Today, Yesterday
# Range = yesterday
# Set up a weekly logwatch report
# https://sourceforge.net/projects/logwatch/
# http://primozverdnik.com/2011/05/logwatch-once-a-week-is-enough/
# http://logwatch.org/pipermail/logwatch/2007-October/001584.html
#
# After setting up the _Range_ definition move the cronjob to the weekly area
# mv -v /etc/cron.daily/00logwatch /etc/cron.weekly/
Range = between -7 days and -1 days
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment