Resource icon

xf_ip Log Cron 1.5

No permission to download

MattW

Well-known member
MattW submitted a new resource:

Truncate IP Log Cron (version 1.0) - Truncate xf_ip table via cron

Thought I'd have a go at a proper add-on for XF, so this is my first attempt.

From this thread:
http://xenforo.com/community/threads/oh-oh-my-xf_ip-table-is-so-big-14-2gb.45448/

This will install a cron to truncate the xf_ip table on the first day of the month. You can change the cron date/time once installed.

Nice and simple, and does what is says on the tin.

(y)
Read more about this resource...
 

oman

Well-known member
How would you find out how big your ip table is? Could you maybe add a feature which shows you how big it is? :)
 

MattW

Well-known member
How would you find out how big your ip table is? Could you maybe add a feature which shows you how big it is? :)
I've got the MySQL query to do that, so I'll look into building that into this add-on
 

CTXMedia

Well-known member
Great idea Matt - could it be modified to allow owners to keep the data for a specific number of days and remove anything older?

Cheers,
Shaun :D
 

MattW

Well-known member
Top