added last status

This commit is contained in:
Shihaam Abdul Rahman 2022-10-16 18:57:46 +05:00
parent e6327094ce
commit 173d34c54a
Signed by: shihaam
GPG Key ID: 3B007D22E5584980

View File

@ -26,6 +26,6 @@ source .env
echo '{"Service":"Internet Banking", "Status":"'$STATUS'", "Date":"'$DATE'", "Time":"'$TIME'"}' | tee -a status.json echo '{"Service":"Internet Banking", "Status":"'$STATUS'", "Date":"'$DATE'", "Time":"'$TIME'"}' | tee -a status.json
fi fi
fi fi
echo '{"Date":"'$DATE'", "Time":"'$TIME'"}' | tee -a lastcheck.json echo '{"Date":"'$DATE'", "Time":"'$TIME'", "Status:"'$STATUS'"}' | tee lastcheck.json
echo Sleep:$DELAY;sleep $DELAY echo Sleep:$DELAY;sleep $DELAY
done done