Community discussions

MikroTik App
 
kennyolutola
just joined
Topic Author
Posts: 17
Joined: Mon Apr 27, 2009 11:08 am
Location: Nigeria

HOTSPTO COUTER RESET SCRIPT

Tue Oct 27, 2009 3:27 pm

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
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: HOTSPTO COUTER RESET SCRIPT

Tue Oct 27, 2009 5:10 pm

Please be more detailed in your request.
 
kennyolutola
just joined
Topic Author
Posts: 17
Joined: Mon Apr 27, 2009 11:08 am
Location: Nigeria

Re: HOTSPTO COUTER RESET SCRIPT

Wed Oct 28, 2009 9:26 am

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
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: HOTSPTO COUTER RESET SCRIPT

Wed Oct 28, 2009 7:01 pm

/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"
 
AbSSoLuT
just joined
Posts: 7
Joined: Sun May 29, 2011 6:34 pm

Re: HOTSPTO COUTER RESET SCRIPT

Thu Sep 22, 2011 11:16 pm

im trying this but not working for me :S plz help
I need to reset all counters when i switch of routerboard
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: HOTSPTO COUTER RESET SCRIPT

Thu Sep 22, 2011 11:21 pm

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.
 
AbSSoLuT
just joined
Posts: 7
Joined: Sun May 29, 2011 6:34 pm

Re: HOTSPTO COUTER RESET SCRIPT

Thu Sep 22, 2011 11:39 pm

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 :D i forgot to set a mikrotik year. thank you
 
pakfar
just joined
Posts: 3
Joined: Mon Jan 26, 2015 1:56 pm

Re: HOTSPTO COUTER RESET SCRIPT

Tue Dec 24, 2024 10:18 pm

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

Who is online

Users browsing this forum: No registered users and 85 guests