I do not want to log my users direct message chats. Having this on is an integrity issue and also may give my users the idea that I want to pry in their chat business.
To be clear, I understand that some real time messages are stored in the database, but I hate that my admin panel so easily allows the reading of a users messages.
I'd like to be able to tell my users that this information is not so easily accessed at the front end.
A cron job is the only way to solve this. Just hiding the messages from the admin panel would still make them viewable in the database. You'd have to delete them.
You can run the /public/cron/index.php file to run one.