Fix Uptime Reset on sudden Power Interruption
The issue of uptime problem is when the active user didn't logout or safe mikrotik shutdown the active user uptime is not save to user statistic uptime. An example to this is a user with 2hrs limit-uptime and he/she used it for an hour then an unexpected power interuption happen, as a result the active uptime used by user is not save and the uptime statistic of user is still 00:00:00. There are different ways of fixing uptime reset causes by power interuption. Saving active user uptime using a scheduler script to mikrotik memory like comment in (user, scheduler and script), creating a scheduler, script source or file that containing there current active uptime. I choose using comment on scheduler created by user validity. Note: Currently using JuanFi WiFi Vendo system. For Reference visit JuanFi by Ivan Alayan 1.) add a script to the end of On-Logout in user profile User Profile On Logout /sys sch set [find where name=...