Scripts

From MikroTik Wiki
Revision as of 09:36, 27 February 2006 by GWISA (talk | contribs) (Reset Hotspot User count)
Jump to: navigation, search
  1. Reset user counters:
  2. -------------------

/ system script add name="rst-hspot-cnt" source="/ip hotspot user reset-counters" \ policy=ftp,reboot,read,write,policy,test,winbox,password / /

  1. Schedule user counter reset daily at midnight:
  2. ---------------------------------------------

/ system scheduler add name="rst-hspot-user-cnt" on-event=rst-hspot-cnt start-date=feb/25/2006 \ start-time=00:00:01 interval=1d comment="" disabled=no /

See also