From 9545e0cc79c5a0f147f052563f3c0582a3600791 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 19 Feb 2024 20:08:04 -0600 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 9f594c9..963f100 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -467,8 +467,9 @@ GETCRONTABS(){ # echo -e "${idsST[Bold]}${idsCL[LightCyan]} ${host_name[$hostid]} - ${host_ip[$hostid]}${idsCL[Default]}${idsST[Reset]}" # checkhost=$(CHECK_HOST ${host_ip[$hostid]}) # if [ "${checkhost}" != "false" ]; then - # echo -e "${idsST[Bold]}${idsCL[LightCyan]} ${host_name[$hostid]} - Gathering Crontabs ... ${idsCL[Default]}${idsST[Reset]}" + echo -e "${idsST[Bold]}${idsCL[LightCyan]} ${host_name[$hostid]} - Gathering Crontabs ... ${idsCL[Default]}${idsST[Reset]}" ssh -tq -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${host_ip[$hostid]} dsmon get-crontab ${rtpsswd} + echo -e "done\n\n" # else # echo -e "${idsST[Bold]}${idsCL[Red]} ${host_name[$hostid]} - Timeout${idsCL[Default]}${idsST[Reset]}" # fi