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.
- http://forum.mikrotik.com/t/netwatch-tool-script-are-global-variables-truly-global/57760/7
- https://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch#Summary
- https://www.reddit.com/r/mikrotik/comments/rsarzw/email_when_internet_is_down_global_variables_not/
How do I use global variables in Netwatch?