Page 1 of 1
HOTSPTO COUTER RESET SCRIPT
Posted: Tue Oct 27, 2009 3:27 pm
by kennyolutola
please i need help on how to write a script that will reset all couter of hotspot uptime limit. can anyone help me? please this is urgent. i am using RB1000, v3.6.
Kenny
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Tue Oct 27, 2009 5:10 pm
by fewi
Please be more detailed in your request.
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Wed Oct 28, 2009 9:26 am
by kennyolutola
I have to reset the couter for all user of the hotspot in my organization morning. each user have a time limit of 3 hours per day on the hotspot. I want to know the script that resets this couter for all the users every morning.
i hope this helps
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Wed Oct 28, 2009 7:01 pm
by fewi
/ip hotsport user reset-counters
to reset counters for all users.
To schedule this to run every day one minute before midnight:
/system scheduler add name="reset counters" start-date=jan/1/2009 start-time=23:59:00 interval=24h on-event="/ip hotspot user reset-counter"
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Thu Sep 22, 2011 11:16 pm
by AbSSoLuT
im trying this but not working for me :S plz help
I need to reset all counters when i switch of routerboard
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Thu Sep 22, 2011 11:21 pm
by fewi
How is it not working? What have you tried? What are you expecting it to do, and what is it doing instead?
It's a built in command. "It doesn't work" as the only statement from you makes it kind of hard to help you. Give more details.
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Thu Sep 22, 2011 11:39 pm
by AbSSoLuT
How is it not working? What have you tried? What are you expecting it to do, and what is it doing instead?
It's a built in command. "It doesn't work" as the only statement from you makes it kind of hard to help you. Give more details.
Worked
i forgot to set a mikrotik year. thank you
Re: HOTSPTO COUTER RESET SCRIPT
Posted: Tue Dec 24, 2024 10:18 pm
by pakfar
im trying this but not working for me :S plz help
I need to reset all counters when i switch of routerboard
hi
please check router and your system date&time