[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RAQ550 - /etc/cron.daily/tmpwatch
- Subject: RE: [cobalt-users] RAQ550 - /etc/cron.daily/tmpwatch
- From: "Leigh Jamgochian" <leigh@xxxxxxxxxxx>
- Date: Tue Oct 8 17:22:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I have a Raq550 and it has the next line as
/usr/sbin/tmpwatch 240 /tmp
/usr/sbin/tmpwatch 720 /var/tmp
Before i ran this I checked my /tmp dir and it had been cleaned out..
although there was some old stuff.
I think that the grace period may be a bit high. I think 30 days. for the
/var/tmp dir and that is why it appeared to not be deleing... the 240 is
about 10 days and 720 is about 1 month.
Leigh
http://www.trentonone.com
http://www.fpworld.com
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Bill Gibbs
> Sent: Tuesday, October 08, 2002 6:33 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] RAQ550 - /etc/cron.daily/tmpwatch
>
>
> 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
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>