home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!pacdata!jimh
- From: jimh@pacdata.uucp (Jim Harkins)
- Subject: Re: Why does OW leave all kind of garbage in tmp?
- Message-ID: <1992Jul24.232751.23935@pacdata.uucp>
- Organization: Pacific Data Products
- References: <1843@ltb.ltb.bso.nl> <1992Jul23.184344.15206@cbfsb.cb.att.com>
- Date: Fri, 24 Jul 1992 23:27:51 GMT
- Lines: 24
-
- In article <1992Jul23.184344.15206@cbfsb.cb.att.com> hillel@cbnewsf.cb.att.com (hillel.e.markowitz) writes:
- -In article <1843@ltb.ltb.bso.nl> wierda@ltb.ltb.bso.nl (Gerben Wierda) writes:
- ->Result: /tmp gets filled with megabytes of trash like:
- -
- -I would say that putting the following crontab (or similar) should
- -be enough. After all, cleaning up once a week should be sufficient.
- -
- -5 4 * * 6 rm -f /tmp/*
-
- Even better is:
-
- 15 4 * * * find /tmp/ -mtime +7 -a -exec rm -f {} \;
-
- That lets your users park stuff in /tmp for up to a week.
-
- jim
-
- --
- Lawyers Creed: What's mine is mine, what's yours is negotiable.
- --------------------------------------------------------------
- Jim Harkins [ucsd|uunet]!pacdata!jim
- Pacific Data Products jim@pacdata.com
- --------------------------------------------------------------
-
-