Community discussions

MikroTik App
 
arffer
just joined
Topic Author
Posts: 21
Joined: Tue Mar 29, 2005 3:14 am

Deleting expired users

Sat May 31, 2008 8:02 am

In a given hotspot installation, it is very likely that many users will drop by, purchase a specific credit package (1 hour, 1 day, 1 week etc.), and at some point move on and never be seen again.

Think of a coffee shop, or hotel etc. where travelers use the hotspot.

Very quickly, the usermanager database could have hundreds of users in it who are long gone, never to be seen again.

Is there some method that users who have zero credits left, and who have not been seen (last-seen) in say the last week, or month, or six months, could be bulk removed from the usermanager database to clean it up?
 
SweetSunday
Member Candidate
Member Candidate
Posts: 296
Joined: Tue Nov 07, 2006 3:06 am

Re: Deleting expired users

Sun Jun 01, 2008 3:21 am

 
arffer
just joined
Topic Author
Posts: 21
Joined: Tue Mar 29, 2005 3:14 am

Re: Deleting expired users

Sat Jun 07, 2008 6:38 am

Thanks for the post. I read that thread, and it appears to pertain to removing the connection of an active hotspot (or ppoe) user.

That's not what I'm asking for. I'm asking if there is a means to remove a user from the usermanager database based upon them having no remaining uptime credits and a last-seen time of 30 days ago or more.

Thanks for any feedback or suggestions!
 
snoozer
Member Candidate
Member Candidate
Posts: 154
Joined: Mon Jun 18, 2007 5:13 pm
Location: Schull, West-Cork, Ireland.

Re: Deleting expired users

Mon Jun 16, 2008 6:52 pm

the same would be interesting for us......

but so far nobody has an idea i guess.

Jan

Who is online

Users browsing this forum: No registered users and 1 guest