Community discussions

MikroTik App

Search found 2 matches

by Alex920807
Fri Jun 18, 2021 9:29 pm
Forum: Scripting
Topic: Stop command for scripts
Replies: 11
Views: 3713

Stop command for scripts

Hey all. So I have a script that reboots a router after 5 minutes. Then I set a net watch to keep pining an ip and if no response is detected to start the reboot script. If the ip reply’s within the 5 minutes before the reboot script is executed. What is the command used to stop the script Eg \syste...
by Alex920807
Tue Jun 01, 2021 10:06 pm
Forum: Scripting
Topic: Netwatch Email contents script help [SOLVED]
Replies: 3
Views: 2707

Netwatch Email contents script help [SOLVED]

Hey All. I'm quite new to the scripting side of router os. I would like an email to be sent with the subject of that email being link is up at time xxxx. then the body of the email to have the log file attached or printed. currently, my script is as follows. on the up :global myVarDownTime :log erro...