/ Published in: Bash

Change path to your site temporary files dir (there are many files like sess_*) and add it at daily crontab
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find /var/www/USERNAME/data/mod-tmp ! -newermt '1 day ago' -exec rm {} \;
Comments
