02-05-2012, 09:24 PM
03-05-2012, 02:02 AM
write a custom script to check how many files are in that folder and delete some if the file number if too large.
03-05-2012, 04:08 AM
make a cron job that works hourly than delete tmp files
as below
rm /your_web_root_directory/tmp/google_game/cache_*
rm /your_web_root_directory/tmp/encok_game/cache_*
rm /your_web_root_directory/tmp/tablo_game/cache_*
rm /your_web_root_directory/tmp/taglar_game/cache_*
rm /your_web_root_directory/tmp/game/cache_*
rm /your_web_root_directory/tmp/google/cache_*
rm /your_web_root_directory/tmp/encok/cache_*
rm /your_web_root_directory/tmp/tablo/cache_*
rm /your_web_root_directory/tmp/taglar/cache_*
rm /your_web_root_directory/tmp/video/cache_*
rm /your_web_root_directory/tmp/backlinkspider/cache_*
make 11 cron jobs
as below
rm /your_web_root_directory/tmp/google_game/cache_*
rm /your_web_root_directory/tmp/encok_game/cache_*
rm /your_web_root_directory/tmp/tablo_game/cache_*
rm /your_web_root_directory/tmp/taglar_game/cache_*
rm /your_web_root_directory/tmp/game/cache_*
rm /your_web_root_directory/tmp/google/cache_*
rm /your_web_root_directory/tmp/encok/cache_*
rm /your_web_root_directory/tmp/tablo/cache_*
rm /your_web_root_directory/tmp/taglar/cache_*
rm /your_web_root_directory/tmp/video/cache_*
rm /your_web_root_directory/tmp/backlinkspider/cache_*
make 11 cron jobs
04-05-2012, 01:11 AM
Thx for answare !