I have been working in openfire, its plugin and strophe js for a while. I have a senario where I need to remove users every 24 hours or on certain time frame or just could call a plugin that could delete users that were created or logged out 24 hours ago. So I was thinking of creating a plugin that could do these things for me.
So here is my question how can this be done? Is there alternative solution. So in one of my plugin I have removed the user from ofUser table of openfire database upon restarting the openfire which may not be a good idea while openfire is running, so what are my option I can work on? I have been looking for a while but have not found any idea how to do it.