Community discussions

MikroTik App
 
bmatic
just joined
Topic Author
Posts: 17
Joined: Fri Oct 21, 2016 8:40 am

Script run count do not reset after reboot

Wed Jul 17, 2019 11:37 am

I have a problem that is not a critical, but just anoying. When router is rebooted script run count should be reseted, but in my case run cuont stucks at some weird number. In attachment is print screen of just rebooted router, and run count should be 0, right ?
Script.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 1806
Joined: Sat Dec 24, 2016 11:17 am
Location: jo.overland at gmail.com

Re: Script run count do not reset after reboot

Wed Jul 17, 2019 11:44 am

Did test on my router.
Script Run Count did not reset after a reboot. For me it shows the number as before reboot.

This is some strange, since many have problems with other counter and variables (global) that are lost after reboot.
 
How to use Splunk to monitor your MikroTik Router(s)

MikroTik->Splunk
 
 
hngjared
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Thu Dec 01, 2011 8:36 pm
Location: NYC USA

Re: Script run count do not reset after reboot

Thu Feb 06, 2020 9:37 pm

Your script count should clear after reboot.
If not, there's a work around. You can can run a scheduler on startup to remove the script and then undo to set the counter to 0.
/system script remove "No-IP_script"
/undo

Who is online

Users browsing this forum: No registered users and 93 guests