Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get install logwatch
- /usr/share/logwatch/default.conf/logwatch.conf
- Output = mail
- Format = html
- MailTo = myemail@mydomain.com
- MailFrom = logwatch@mydomain.com
- logwatch
- crontab -e
- # m h dom mon dow command
- 0 1 * * * /usr/sbin/logwatch
Add Comment
Please, Sign In to add comment