Update dsmon.sh
This commit is contained in:
1 parent
779b3710f9
commit
76c3465280
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user