X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fpflogsumm.git;a=blobdiff_plain;f=debian%2Fexample.cron.weekly;fp=debian%2Fexample.cron.weekly;h=4d67bda988174669fdcf629e3e6b743e7c86db9e;hp=0000000000000000000000000000000000000000;hb=635b2d2fdf790e110d11922ea6d83c60e7584dcd;hpb=5c993ae14f7a7f5b20734081cb078284c45a114a diff --git a/debian/example.cron.weekly b/debian/example.cron.weekly new file mode 100644 index 0000000..4d67bda --- /dev/null +++ b/debian/example.cron.weekly @@ -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