Hi All,
I don know why but I have a problem with very simply script
## Shutdown the cAP
/system ssh address=cAP_IP_ADDRESS user=USER_NAME command="/system shutdown"
## Wait 10s and shoutdown the main router
:delay 10s;
/system shutdown
Why MikroTik might have a problem executing this script??
If you are trying to run this from scheduler, SSH client will ask for password, and fail, since there is not an interactive terminal on which to ask for the password.
If you run the first command manually on the console, you will see it asks for password, and will not continue until you enter it. It behaves the same way from scheduler, but like mentioned above, is not able to get password, so fails.