Destroy persistent rooms daily task

Hello,

So I'm building an app that allows users to create/join XMPPRooms that are persistent. Is there anyway I could set a task on the server to delete all of its persistent rooms, or automate the server to restart daily at a certain time?

Please let me know what the best way for me to proceed is!

Thanks

Hello, Did you had a look a

Hello,

Did you had a look a mod_muc_admin (version 15.04 and up) ? Once enabled, you can run ejabberdctl destroy_room or destroy_rooms_file. You can add the command in your cron scheduler to automate.

Syndicate content