So this is the script that linux uses? Or this script is used by you? --- On Sun, 6/7/09, Bruno Wolff III <bruno@xxxxxxxx> wrote: > From: Bruno Wolff III <bruno@xxxxxxxx> > Subject: Re: Which directory contents I can remove?? > To: "Steve Searle" <steve@xxxxxxxxxxxxxxx> > Cc: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx> > Date: Sunday, June 7, 2009, 10:25 PM > On Sun, Jun 07, 2009 at 11:29:36 > +0100, > Steve Searle <steve@xxxxxxxxxxxxxxx> > wrote: > > Around 03:03am on Sunday, June 07, 2009 (UK time), > Bruno Wolff III scrawled: > > > Normally you don't have to. There is supposed to > be cron job that deletes > > > files /tmp and /var/tmp that haven't been read or > written in a while. > > > > Supposed to be, or is? Can you give any more > information, esp what it > > is called? > > > > I alsways create my own, and put it in > /etc/cron.daily > > That's were the installed one goes. > > bash-4.0$ rpm -q --whatprovides /etc/cron.daily/tmpwatch > tmpwatch-2.9.14-1.i586 > bash-4.0$ cat /etc/cron.daily/tmpwatch > #! /bin/sh > flags=-umc > /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x > /tmp/.XIM-unix \ > -x /tmp/.font-unix -x /tmp/.ICE-unix -x > /tmp/.Test-unix 10d /tmp > /usr/sbin/tmpwatch "$flags" 30d /var/tmp > for d in > /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do > if [ -d "$d" ]; then > /usr/sbin/tmpwatch "$flags" -f 30d "$d" > fi > done > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines