Update dsmon.sh

This commit is contained in:
2024-01-26 08:39:39 -06:00
parent e6f1fd9433
commit bf399700ed

View File

@@ -465,7 +465,7 @@ GETCRONTAB(){
if [ "${nmip}" != "" ]; then
while read host hostname; do
echo "${host} : ${hostname}"
echo "${SERVERMON_ID}) ${host} : ${hostname}"
# if [ "${host}" != "host" ]; then
# crontab -l | sshpass -p${1} ssh -o 'StrictHostKeyChecking no' nm_crontab_user@${nmip} "cat > ${DS_CRONTAB_FOLDER}/${host}.crontab"
# echo -e "${idsCL[Green]} done${idsCL[Default]}"