Return to Snippet

Revision: 30715
at August 19, 2010 23:32 by kossmoss


Initial Code
find /var/www/USERNAME/data/mod-tmp ! -newermt '1 day ago' -exec rm {} \;

Initial URL


Initial Description
Change path to your site temporary files dir (there are many files like sess_*) and add it at daily crontab

Initial Title
Delete site temporary files older than 1 day

Initial Tags


Initial Language
Bash