Community discussions

MikroTik App
 
panda
just joined
Topic Author
Posts: 13
Joined: Sun Oct 03, 2010 2:08 am

Reset up time counter

Sun Oct 10, 2010 10:52 am

Hi
How can i reset users uptime counter,daily automatically?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Reset up time counter

Sun Oct 10, 2010 9:06 pm

Find the command that resets the counters in the wiki documentation, make a new schedule that runs that command and is scheduled at midnight with an interval of 1d so that it runs every day.
 
panda
just joined
Topic Author
Posts: 13
Joined: Sun Oct 03, 2010 2:08 am

Re: Reset up time counter

Mon Oct 11, 2010 10:06 am

I tried this command:

/tool user-manager user reset-counter [find subscriber="your logon name"]

but it didn't reset uptime counter!
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Reset up time counter

Mon Oct 11, 2010 3:07 pm

Does the below? That's a guess, I have nothing with UM installed.
/tool user-manager user reset-counter [/tool user-manager user find subscriber="your logon name"]
 
panda
just joined
Topic Author
Posts: 13
Joined: Sun Oct 03, 2010 2:08 am

Re: Reset up time counter

Mon Oct 11, 2010 9:56 pm

Does the below? That's a guess, I have nothing with UM installed.
/tool user-manager user reset-counter [/tool user-manager user find subscriber="your logon name"]
thank you,it works just fine in console but [Run Script] in IP->Script List doesn't work and the commands do not execute.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Reset up time counter

Mon Oct 11, 2010 10:59 pm