X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fpflogsumm.git;a=blobdiff_plain;f=debian%2Fexample%2Fcron.daily;fp=debian%2Fexample%2Fcron.daily;h=9f8be2aa4a5c9bf9ebf6620fee3b4f33fa03d990;hp=0000000000000000000000000000000000000000;hb=e5d195543281384ed83fcb622c5c778aace498ea;hpb=077310cdf7fc8a80b9e61a5a3944201276cabfaf 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