Community discussions

MikroTik App
 
AlohaSpark
newbie
Topic Author
Posts: 45
Joined: Wed Jun 16, 2021 10:39 pm

How do I use global variables in Netwatch?

Thu Jun 08, 2023 5:56 am

It seems like my Netwatch script can't modify a global variable that was created from another script.

In my research on this I found that Netwatch runs as another user... that's it. I haven't found any straightforward solutions, only complaints since 2012.
How do I use global variables in Netwatch?
 
msatter
Forum Guru
Forum Guru
Posts: 2897
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: How do I use global variables in Netwatch?

Thu Jun 08, 2023 12:06 pm

You could use a work around by using static DNS, Layer7 or comments depening of the type variable to store.

Use a repeating schedule to update the values from Global and back.

Who is online

Users browsing this forum: carrionlee, Majestic-12 [Bot] and 4 guests