From: Wolfram Schneider Date: Thu, 17 Jun 2010 21:38:12 +0000 (+0000) Subject: Update status file after a succesfully run - could be use by nagios to monitor the... X-Git-Tag: CPAN-v1.02~30 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=2c6c9e24df4c52bb11151d2740489731eb34ab87;p=irspy-moved-to-github.git Update status file after a succesfully run - could be use by nagios to monitor the service --- diff --git a/bin/irspy-update.sh b/bin/irspy-update.sh index 3e95941..7088875 100755 --- a/bin/irspy-update.sh +++ b/bin/irspy-update.sh @@ -12,6 +12,7 @@ home=/usr/local/src/git cd $home/irspy/bin || exit 2 logdir=../log lockfile=$logdir/irspy-update.lock +statusfile=$logdir/irspy-last-update.log # run a full update by default, use Quick for a fast update : ${irspy_test=Main} @@ -38,4 +39,5 @@ do done rm -f $lockfile +date > $statusfile