Hotspot Counters Rest script help

Hello

I would like to setup a script that reset the counters for a specific hotspot user, tried /ip hotspot users user rest-counters-0 and rest-all-counters, but these don’t work. I am guessing about what to do here so I am not even sure I am vaguely within the ballpark of how this should be done. Never used scripts before.

Any guidance would be appreciated.

try this, delete only one user

/ip hotspot user reset-coun [find name=user]

or reset all users

/ip hotspot user reset-coun [find]

Thanks man, that worked perfectly.

[quote=Askews post_id=776917 time=1582696718 user_id=157826]
I figured it out, I just went to the scheduler in Winbox and added this script /ip hotsport user reset-counters and from the intervals, you can run it hourly, daily, weekly or even monthly depending on the amount of hours you put in their.
[/quote]

it’s a good idea