View Full Version : Clean up the DATA directory
December 20th, 2010, 02:59 AM
How do I clean up the DATA directory? Total disk space used by the DATA directory keeps increasing even though I have deleted ads that are expired.
December 20th, 2010, 07:33 AM
actual images used by ads should be deleted when an ad is actually deleted.
what version of the script are you using? if you go to admin approve ads and check the expired que what is there?
December 20th, 2010, 11:10 PM
I am using 4.1
In the expired queue, there are ads that are "SOLD" but not reached the 30 days limit yet.
December 21st, 2010, 07:08 AM
Our admin code has code that if ads are expired over 2 weeks they are deleted that is if you have not altered it. Anyway I think you will find if you clear out your expired que that the resulting images in the data directory are indeed deleted.
December 22nd, 2010, 02:03 AM
I got worried cos the DATA folder is growing to over 3GB. Will monitor if the deleted ads will clear the corresponding images in the DATA folder.
December 22nd, 2010, 05:26 AM
well the only way our program would not be able to delete images is if your permissions where not right meaning your server did not allow it. we definately issue the proper coding.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.