6 lines
474 B
Bash
Executable File
6 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
#/usr/sbin/logwatch --detail high --range yesterday --format html --filename /var/log/logwatch/$(date -d "yesterday" +%F)_logwatch.html
|
|
/usr/sbin/logwatch --detail high --range yesterday --format html --mailto m.dahmen@asolvo.de
|
|
/usr/sbin/logwatch --detail high --range yesterday --format html --mailto m.dahmen@asolvo.de --filename /var/log/logwatch/$(date -d "yesterday" +%F)_logwatch.html
|
|
chmod 644 /var/log/logwatch/$(date -d "yesterday" +%F)_logwatch.html
|