Install tmpwatch

tmpwatch – removes files which haven't been accessed for a period of time

echo '0 2 * * * /usr/sbin/tmpwatch -d -l -m 24 /tmp' >> /var/spool/cron/root

Similar Posts:

    None Found

Leave a Reply

Your email address will not be published. Required fields are marked *