home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / misc / 3334 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.2 KB  |  35 lines

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