Anyone knows the scheduling script to disable and enable netwatch?
I tried /tool netwatch disable [find host=8.8.8.8] but it doesn't work... appreciate your help.
[test] /tool netwatch> /tool netwatch disable [find host=8.8.8.8]
[test] /tool netwatch> print
Flags: X - disabled
# HOST TIMEOUT INTERVAL STATUS SINCE
0 X 8.8.8.8 998ms 10s unknown may/12/2021 09:46:08
[test] /tool netwatch> /tool netwatch enable [find host=8.8.8.8]
[test] /tool netwatch> print
Flags: X - disabled
# HOST TIMEOUT INTERVAL STATUS SINCE
0 8.8.8.8 998ms 10s up may/12/2021 09:46:22
Anyone knows the scheduling script to disable and enable netwatch?
I tried /tool netwatch disable [find host=8.8.8.8] but it doesn't work... appreciate your help.
/tool netwatch disable [find where disabled=no and host=8.8.8.8]
...
/tool netwatch enable [find where disabled=yes and host=8.8.8.8]