Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -334,7 +334,7 @@ GETCRONTABS(){
|
|||||||
}
|
}
|
||||||
GETCRONTAB(){
|
GETCRONTAB(){
|
||||||
hostname=$(hostname)
|
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