slackbuilds_ponce/network/pflogsumm/sample_cronjob.txt
2010-05-13 01:00:18 +02:00

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