Clean up script for tmp files
armando.montiel at gmail.com
Wed Feb 12 13:00:02 GMT 2014
use the "tmpwatch HOURS_OLDER_THAN_THIS /tmp" command.
"tmpwatch 24 /tmp"
will erase every file or subfolder under /tmp not used in the last 24 hours
or oldest ones.
El feb 12, 2014 5:24 AM, "Remco Barendse" <mailscanner at barendse.to>
> I know the subject was discussed on the mailing list several times but i
> didn't find the ultimate solution.
> Does anyone have a super duper cleanup script for all the files in :
> for files like tmp.DPhoj31724
> for files like .spamassassin3805xUDKuUtmp
> They are seriously clogging up my filesystem and slowing down the system.
> I tried to script something based on the age of the file but it didn't
> work (maybe because most are zero byte files).
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner