Thanks Michael and Emmanuel... you've taught me something new.  

Anyone have an idea how can I prevent tmpwatch removing the sub-directory /tmp/apache 
(at least until I move the apache directory to a safer home) but still run on /tmp as 
normal?

regards
/j-p.


On Sun, 19 May 2002, Michael Fratoni wrote:

> On Sunday 19 May 2002 11:23 am, Emmanuel Seyman wrote:
> > On Sun, May 19, 2002 at 10:59:31AM -0400, Michael Fratoni wrote:
> > > Have a look at /etc/cron.daily/tmpwatch.
> > > It will remove files in /tmp that have not been accessed in the past
> > > 10 days, if I remember correctly. Then again, i haven't had coffee
> > > yet this morning. ;)
> >
> > It's 30 days, actually. Time to get that coffee. :->
> 
> Looking again, (at least on 7.3 and 7.1) with my coffee in hand ;)
> /tmp is 10 days.
> /var/tmp is 30, however. (240 and 720 hours, respectively)
> [mfratoni@paradox scripts]$  head -2 /etc/cron.daily/tmpwatch
> /usr/sbin/tmpwatch 240 /tmp
> /usr/sbin/tmpwatch 720 /var/tmp
> 
> --
> -Michael
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
> --
> 
> ----------------------------------------------------------------------
> gpg: Warning: using insecure memory!
> gpg: Signature made Sun 19 May 2002 02:07:17 PM CEST using DSA key ID 801BFD2B
> gpg: Can't check signature: public key not found
> ----------------------------------------------------------------------
> 


-----------------------
 JUSTATEST Art Online
  www.justatest.com





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to