Community discussions

MikroTik App
 
Arco van Bezooijen
newbie
Topic Author
Posts: 31
Joined: Sat Feb 05, 2005 1:33 pm
Location: The Netherlands
Contact:

deleting users after expiration

Fri Jul 07, 2006 5:55 pm

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
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Thu Jul 27, 2006 12:12 pm

This would be a useful think for usermanager to do automatically too

Who is online

Users browsing this forum: No registered users and 22 guests