slackbuilds_ponce/network/pflogsumm/sample_cronjob.txt

9 lines
368 B
Text
Raw Normal View History

# 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