Following command put as a cron job deletes all files not accessed in last 24 hours
% /usr/bin/find /var/www/trash -atime +1 | /usr/bin/xargs rm
This prevents the disk from filling up with unwanted old files. This works on Linux!
Monday, March 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment