Please, help!
I have a script that works from terminal, but will not run by clicking run script or using scheduler.
Script:
/system ssh address=192.168.90.251 user=Klient command=“:log warning message="Get OK"”;
Maybe there’s something before that line that causes a syntax error?
Try to save the script in “/system script”, and then run it from the command line with “/system script run scriptName”. If there are any errors, you should see them on screen.
Thank you for the reply!
This script is given as an example although I must execute the following commands:
/system ssh 192.168.90.251 user=Klient_SSH command=“:log warning message="Get OK! from $IDKlient"”
/system ssh 192.168.90.251 user=Klient_SSH command=“/file remove "conf/config_$IDKlient.rsc"”
But according to the information in the internet, the developers blocked this capacity.