Help
Ask questions about how to do or fix things in Arrowchat
User avatar
blowingwind
Customer
 
Posts: 7
Joined: 31 May 2012, 10:00

 

by blowingwind 13 Aug 2012, 07:53

1. I am looking to crontab something that will auto Delete-Chat-History.
2. Appreciate someone points me to the php/routine I can just contab.
3. Hopefully this will be "version" independent.

Thanks
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 13 Aug 2012, 08:21

You can just run /public/cron/index.php how ever often you want. It will delete everything but the last 3 hours of history (of course, you can change that time).

Please note that you need to edit the .htaccess file in that directory first to allow your server's IP.
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]