Install and configure tmpwatch on DirectAdmin server

itcms

Verified User
Joined
Jul 4, 2019
Messages
105
Location
Athens
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
 
Back
Top