[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RAQ550 - /etc/cron.daily/tmpwatch
- Subject: [cobalt-users] RAQ550 - /etc/cron.daily/tmpwatch
- From: "Bill Gibbs" <bgibbs@xxxxxxxxxxxxx>
- Date: Tue Oct 8 15:51:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Just thought I'd send this minor fix to the list. I noticed my /tmp dir was
not being cleaned up. I took a look at /etc/cron.daily/tmpwatch, line #1:
/usr/sbin/tmpwatch 240 /tmp
If you run that line with -v -v switches for verbose, you will see the
following output:
grace period is 864000
initial directory /tmp is a symlink -- skipping
Well no wonder nothing was being cleaned - it was skipping /tmp, it appears
that /tmp is linked to /home/tmp so I modified the line to read /home/tmp
instead of /tmp and things are being cleaned up now.
Hope this helps someone else,
Bill