Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -333,7 +333,7 @@ GETCRONTABS(){
|
||||
|
||||
}
|
||||
GETCRONTAB(){
|
||||
crontab -l | sshpass -p${1} ssh -o 'StrictHostKeyChecking no' root@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