Skip to content

Instantly share code, notes, and snippets.

@tonejito
Last active April 26, 2016 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonejito/530dff2904fa05304da6b825130f428d to your computer and use it in GitHub Desktop.
Save tonejito/530dff2904fa05304da6b825130f428d to your computer and use it in GitHub Desktop.
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