So this is the script that linux uses? Or this script is used by you? --- On Sun, 6/7/09, Bruno Wolff III bruno@wolff.to wrote:
From: Bruno Wolff III bruno@wolff.to Subject: Re: Which directory contents I can remove?? To: "Steve Searle" steve@stevesearle.com Cc: "Community assistance, encouragement, and advice for using Fedora." fedora-list@redhat.com Date: Sunday, June 7, 2009, 10:25 PM On Sun, Jun 07, 2009 at 11:29:36 +0100, Steve Searle steve@stevesearle.com 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@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
On Sun, Jun 07, 2009 at 15:14:29 -0700, gmspro gmspro@yahoo.com wrote:
Please don't top post.
So this is the script that linux uses? Or this script is used by you?
Stuff in cron.daily is run once a day by cron. So you don't have to manually run it. If you don't leave your computer on all of the time, then you probably also want to run the anacron service which is supposed to run things that got skipped because the system wasn't up at the time they were supposed to be run.
All of this should have been set up by default. Unless you went and broke it, you don't need to touch anything.