dknelson
01-28-2016, 10:43 AM
I recently installed a chat room in my VBulletin forum. It stores all the messages and any files uploaded to chat in the database. There is a link in the admin area that allows you to truncate the tables so that they don't get TOO big.
I want to add a CRON task that will automatically truncate the tables. I have two tables that need to be truncated, could be two separate CRON tasks or combined into one, doesn't matter to me.
I want it to delete all entries more than 24 or maybe 48 hours old.
Can anybody help?
Thanks
I want to add a CRON task that will automatically truncate the tables. I have two tables that need to be truncated, could be two separate CRON tasks or combined into one, doesn't matter to me.
I want it to delete all entries more than 24 or maybe 48 hours old.
Can anybody help?
Thanks