Update test.sh

This commit is contained in:
2019-02-07 22:12:43 -06:00
parent db6d0c81cc
commit 65bc1b1893

View File

@@ -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