ejabberd - Comments for "how to query all inactive users accounts" https://www.ejabberd.im/forum/25528/how-query-all-inactive-users-accounts en thanks a lot :) https://www.ejabberd.im/forum/25528/how-query-all-inactive-users-accounts#comment-66959 <p>thanks a lot :)</p> Wed, 20 Jul 2016 06:06:45 +0000 joe1986 comment 66959 at https://www.ejabberd.im Yes, try this command: $ https://www.ejabberd.im/forum/25528/how-query-all-inactive-users-accounts#comment-66954 <p>Yes, try this command:</p> <pre> $ ejabberdctl help delete_old_users Command Name: delete_old_users Arguments: days::integer Returns: res::restuple Tags: accounts purge Description: Delete users that didn't log in last days, or that never logged $ ejabberdctl delete_old_users 30 Deleted 2 users: [{&lt;&lt;"user1"&gt;&gt;,&lt;&lt;"localhost"&gt;&gt;},{&lt;&lt;"user2"&gt;&gt;,&lt;&lt;"localhost"&gt;&gt;}] </pre> Mon, 18 Jul 2016 16:21:09 +0000 badlop comment 66954 at https://www.ejabberd.im