Howto remove users with Last Activity: Never

Is any script for remove never logged users from database?

Not that I'm aware, but it

Not that I'm aware, but it doesn't look that hard to code.

If you are really interested, I could try to implement it next week as a patch for ejabberd_ctl (you will need to recompile and restart ejabberd). Are you really interested in it?

Yes, I really need this

Yes, I really need this patch. I have too big mnesia database and many not active users.

You have just asked if a

You have just asked if a 'tool to export logins and passwords' exists. A tool to export logins and passwords is easier to code than a tool to remove old users.

Are you interested in both? To be used on the same Jabber server? It seems you first want to clean the users base, and then export them, right?

I want to clean database

I want to clean database first, maybe after this I can migrate from 0.7.5 to 0.9.8 with good result. If this fail, then is easier to me to migrate to other jabber server.

Very thanks for script for export users passwords.

Good idea. I'll try to add a

Good idea. I'll try to add a new option to ejabberdctl: remove users that have not logged in X days, being X configurable. I'll tell the results (good or bad) on this thread.

If I'm succesfull, you will need to patch, recompile and restart ejabberd. Is this a problem?

any news

hi.

are there any news on this topic?
some form of "old user purging" (not logged in for x days) would be a really highly appreciated core feature.

You can try this

You can try this contributed module: mod_ctlextra.

This patch adds this option

mod_ctlextra provides this option and a lot more.

Syndicate content