X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Fexample.cron.daily;fp=debian%2Fexample.cron.daily;h=9f8be2aa4a5c9bf9ebf6620fee3b4f33fa03d990;hb=635b2d2fdf790e110d11922ea6d83c60e7584dcd;hp=0000000000000000000000000000000000000000;hpb=5c993ae14f7a7f5b20734081cb078284c45a114a;p=sven%2Fpflogsumm.git diff --git a/debian/example.cron.daily b/debian/example.cron.daily new file mode 100644 index 0000000..9f8be2a --- /dev/null +++ b/debian/example.cron.daily @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Debian pflogsumm daily cron script +# +# This script analyses the logfile for statistics and problems. +# + +if [ -x /usr/sbin/pflogsumm.pl ]; then + /usr/sbin/pflogsumm.pl -d yesterday --problems_first /var/log/mail.log +fi