Install and configure tmpwatch on DirectAdmin server

rotame

Verified User
Joined
Jul 4, 2019
Messages
50
Hi,

Its safe to install and setup tmpwatch to check every 24 hours or need more ?

yum install tmpwatch

Put into crontab (or editing /var/spool/cron/root) this entry:

Code:
0 * * * * /usr/sbin/tmpwatch --mtime --all 24 /tmp
 
Top