diff options
Diffstat (limited to 'network/pflogsumm/sample_cronjob.txt')
-rw-r--r-- | network/pflogsumm/sample_cronjob.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/network/pflogsumm/sample_cronjob.txt b/network/pflogsumm/sample_cronjob.txt new file mode 100644 index 0000000000..c3daf10cd2 --- /dev/null +++ b/network/pflogsumm/sample_cronjob.txt @@ -0,0 +1,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 |