mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-29 18:42:51 +01:00
8 lines
368 B
Text
8 lines
368 B
Text
# sample crontab entries for use with pflogsumm
|
|
# please adjust according to your taste :)
|
|
|
|
# daily cronjob
|
|
22 1 * * * /usr/bin/pflogsumm.pl -d yesterday /var/log/maillog 2>&1 | /usr/bin/mailx -s "postfix daily mail stats" postmaster
|
|
|
|
# weekly cronjob
|
|
30 6 * * 0 /usr/bin/pflogsumm.pl /var/log/maillog.1 2>&1 | /usr/bin/mailx -s "postfix weekly mail stats" postmaster
|