]> git.sven.stormbind.net Git - sven/pflogsumm.git/blobdiff - debian/example/cron.weekly
Move the cron examples into debian/example and install them with
[sven/pflogsumm.git] / debian / example / cron.weekly
diff --git a/debian/example/cron.weekly b/debian/example/cron.weekly
new file mode 100644 (file)
index 0000000..4d67bda
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Debian pflogsumm weekly cron script
+# 
+# This script analyses the logfile for statistics and problems.
+#
+
+if [ -x /usr/sbin/pflogsumm.pl ]; then
+       /usr/sbin/pflogsumm.pl --problems_first /var/log/mail.log*
+fi