I add a script on the sending server:
Code: Select all
/tool fetch address=1.1.1.1 src-path=export/run-reboot.rsc user=* mode=ftp password=* dst-path=auto-rest
ore/run-reboot.auto.rsc upload=yes
/tool fetch address=2.2.2.2 src-path=export/run-reboot.rsc user=* mode=ftp password=* dst-path=auto-rest
ore/run-reboot.auto.rsc upload=yes
Only the first server is restarted!
When I enter the command in the terminal, it gives this message: no such item (4)
no such item (4)