summaryrefslogtreecommitdiff
path: root/network/pflogsumm/sample_cronjob.txt
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-13 01:00:18 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:18 +0200
commite115086e93b49765a5327e6d500c5f697cb265dd (patch)
treeaa76c35814a8155bf352f6835e57356f11a25982 /network/pflogsumm/sample_cronjob.txt
parentf32cb64362a0cb8dabb30aef3edcd14e64ddf30d (diff)
downloadslackbuilds-e115086e93b49765a5327e6d500c5f697cb265dd.tar.gz
network/pflogsumm: Added to 13.0 repository
Diffstat (limited to 'network/pflogsumm/sample_cronjob.txt')
-rw-r--r--network/pflogsumm/sample_cronjob.txt8
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