1752703 Members
5449 Online
108789 Solutions
New Discussion

Re: /tmp

 
chakri
Occasional Contributor

/tmp

how frequently system cleans /tmp folder?
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: /tmp

If you use a Red Hat based system, you will have the tmpwatch package.

Tmpwatch installs a file in /etc/cron.daily. This scripts runs, obviously daily, at the time specified in /etc/crontab, by default:

02 4 * * * root run-parts /etc/cron.daily


This means, everything in /etc/cron.daily will run everyday at 4:02.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?