Skip to content

Instantly share code, notes, and snippets.

Last active April 26, 2016 15:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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
# 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