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… Read the rest
Notes
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… Read the rest