diff --git a/test.sh b/test.sh index cc8eb85..2bb3eed 100755 --- a/test.sh +++ b/test.sh @@ -21,13 +21,9 @@ fi declare -i timediff - -errtime=$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) -ctime=`date +%s` -timediff=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) +errtime=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) echo $errtime -echo `date +%s` -echo $timediff + # if [ "" -gt "$timeout" ]; then # echo 'yes' # else