PDA

View Full Version : Cleaning Stats


Justec
03-04-2008, 12:49 AM
Not sure if there is a way to do this, but don't think there is.

I have an account which doesn't get much activity and just has a small website and its using over 300MB which is mostly stats. Would be nice to have a cutoff date like more than 1 year old or something it gets deleted.

docpeyer
03-18-2008, 03:39 PM
I second that.

tiger
03-19-2008, 02:12 AM
Yes, would be nice to have them get auto deleted.

paulo
07-05-2010, 04:37 AM
Or a addon button for "clear stats" :-) ... new feature ? :-)

Justec
07-07-2010, 02:53 PM
Wow, talk about raising a thread from the dead :)

Still think this is a great idea...and not just because I started the thread :)

Justec
08-01-2010, 01:18 PM
What about something like this:
http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/

find /path/to/files* -mtime +180 -exec rm -rf {} \;

Could be setup as a cron job?