home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6335 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
  3. From: sherwood@space.ualberta.ca (Sherwood Botsford)
  4. Subject: Re: Empty recycler whenever user login/logout ....
  5. Message-ID: <1992Nov6.225602.4060@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: fenris.space.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <1992Nov6.034314.12741@csus.edu>
  10. Date: Fri, 6 Nov 1992 22:56:02 GMT
  11. Lines: 17
  12.  
  13.  
  14. A couple times I've emptied my recycler, and then an hour later decided  
  15. that I shouldn't have... <sick rueful grin>
  16.  
  17. I implemented it by adding these lines to the /private/adm/daily script  
  18. on my administration machine.
  19. # Empty the trash 
  20.  rm -rf /u/arafel/*/.NeXT/.NextTrash/*
  21.  rm -rf /u/fenris/*/.NeXT/.NextTrash/*
  22.  rm -rf /u/scratch/.NextTrash/*/*
  23.  rm -rf /u/cruncher/.NextTrash/*/*
  24.  
  25. Arafel and fenris are home directory servers.  Scratch and cruncher are  
  26. nfs'd for other reasons.
  27.  
  28. This way, it gets emptied only at night. Much as the janitors do with  
  29. our real wastebaskets.
  30.