Page 1 of 1

deleting users after expiration

Posted: Fri Jul 07, 2006 5:55 pm
by Arco van Bezooijen
Hi everyone,
I already posted this in the wireless forum, but i think this is only possible using a script;

I made a simple hotspot configuration using the wiki installation on page

http://wiki.mikrotik.com/wiki/How_to_ma ... ot_gateway

I only have 1 type of user which expires at 1 day. I made several users (login codes) using:

/ip hotspot user add name=94399701 limit-uptime=1d profile="HS 1 day"
/ip hotspot user add name=31514893 limit-uptime=1d profile="HS 1 day"
/ip hotspot user add name=81920931 limit-uptime=1d profile="HS 1 day"
/ip hotspot user add name=23458740 limit-uptime=1d profile="HS 1 day"
/ip hotspot user add name=92689757 limit-uptime=1d profile="HS 1 day"

So, login code (user) 94399701 with limit-uptime 1 day expires at 24 hours.

My question is: is there a possibily to delete these users automatically after the expiration?

Thanks in advance

Posted: Thu Jul 27, 2006 12:12 pm
by HarvSki
This would be a useful think for usermanager to do automatically too