How can limit temp file to 1024 - Printable Version +- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum) +-- Forum: My Category (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: How can limit temp file to 1024 (/showthread.php?tid=2911) |
How can limit temp file to 1024 - ancuta9 - 02-05-2012 09:24 PM Heloo, i have some problem with my hosting. I have limit to 1024 max file on folder. How can limit this on freeadultscript. Thx RE: How can limit temp file to 1024 - Punktured - 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. RE: How can limit temp file to 1024 - admin - 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 RE: How can limit temp file to 1024 - ancuta9 - 04-05-2012 01:11 AM Thx for answare ! |