Update dsmon.sh

This commit is contained in:
2023-07-04 20:42:38 -05:00
parent 779b3710f9
commit 76c3465280

View File

@@ -334,7 +334,7 @@ GETCRONTABS(){
}
GETCRONTAB(){
hostname=$(hostname)
crontab -l | sshpass -p${1} ssh -o 'StrictHostKeyChecking no' nm_crontab_user@10.10.10.50 'cat > /opt/idssys/nodemgmt/crontabs/${hostname}.crontab'
crontab -l | sshpass -p${1} ssh -o 'StrictHostKeyChecking no' nm_crontab_user@10.10.10.50 "cat > /opt/idssys/nodemgmt/crontabs/${hostname}.crontab"
}