imp_monitor.sh: add date to logging output

This commit is contained in:
Alfonso Gamboa 2023-07-11 00:54:26 -07:00
parent a123d9106b
commit 8586cd4df0

View File

@ -88,9 +88,11 @@ daemon_loop() {
echo "Starting daemon with PID $$"
while true; do
echo $(date)
echo "Checking values..."
check
if [ $? -eq 1 ]; then
echo $(date)
echo "Setting values..."
set_values
fi