summaryrefslogtreecommitdiffstats
path: root/network/pflogsumm/sample_cronjob.txt
blob: c3daf10cd2f009719ab407c68a6a7c5081dd6531 (plain)
1
2
3
4
5
6
7
8
# 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