X-Git-Url: https://xp-dev.com/git/logcheck/blobdiff_plain/9da9af1d380e5c5ecdee1fa251a7721263513cf8..65d0d4018fa032571e22b7e296900ea69f77012c:/logcheck.pl diff --git a/logcheck.pl b/logcheck.pl index 4bf4920..95ebe40 100644 --- a/logcheck.pl +++ b/logcheck.pl @@ -8,7 +8,7 @@ $mode="run"; sub head() { print "\n"; print "-----------------------------\n"; - print "This is logcheck.pl V1.0.2\n"; + print "This is logcheck.pl V1.0.3\n"; print "http://peters-webcorner.de\n"; print "project hosted on origo\n"; print "http://logcheck.origo.ethz.ch\n"; @@ -167,6 +167,8 @@ foreach $thisfile (@logfiles) { print MAIL "Subject: ($thisfile) violation report $Jetztzeit\n\n\n"; print MAIL $outtext; close(MAIL); + $command="\/usr\/bin\/logger -p warn logcheckprint"; + system($command); } } else { if($mode eq "debug") {