Posted By

kossmoss on 08/19/10



Versions (?)

Delete site temporary files older than 1 day

 / Published in: Bash

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

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

Report this snippet  

You need to login to post a comment.