Community discussions

MikroTik App
 
wwwevecom
newbie
Topic Author
Posts: 39
Joined: Tue Feb 28, 2012 7:53 pm

Cannot start scripts by names from netwatch

Tue Jul 10, 2018 3:17 pm

I have a created a script list. So far I have started the scripts as directly listing their names in tools/netwatch, like shown on picture
After the last few updates stopped working the option that started the netwatch scripts with their names.
So it's more convenient for clarity when starting two or three scripts sequentially. How can I start the scripts with their names?
Thank You.
You do not have the required permissions to view the files attached to this post.
Last edited by wwwevecom on Tue Jul 10, 2018 3:23 pm, edited 2 times in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Cannot start scripts by names from netwatch

Tue Jul 10, 2018 3:20 pm

Make sure that script you want to execute does not have more permissions that allowed by netwatch.
 
wwwevecom
newbie
Topic Author
Posts: 39
Joined: Tue Feb 28, 2012 7:53 pm

Re: Cannot start scripts by names from netwatch

Tue Jul 10, 2018 3:34 pm

if I directly insert the text of the script then there is no problem.
There is no message in the log file that it has no startup rights
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Cannot start scripts by names from netwatch  [SOLVED]

Tue Jul 10, 2018 3:39 pm

From chanelog:
*) netwatch - limit to read, write, test and reboot policies for Netwatch script execution;

Make sure that scripts does not exceed these policies.
 
wwwevecom
newbie
Topic Author
Posts: 39
Joined: Tue Feb 28, 2012 7:53 pm

Re: Cannot start scripts by names from netwatch

Tue Jul 10, 2018 3:47 pm

Excuse me, I could not understand exactly what to do. I have to check script options in script Policies:read, write, test and reboot? Is that right?
 
wwwevecom
newbie
Topic Author
Posts: 39
Joined: Tue Feb 28, 2012 7:53 pm

Re: Cannot start scripts by names from netwatch

Tue Jul 10, 2018 4:18 pm

Thank You. Solved with script Policies:read, write, test and reboot

Who is online

Users browsing this forum: Bing [Bot] and 14 guests