home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7087 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!ub!dsinc!pitt.edu!pitt!darth!investor.pgh.pa.us!rbp
  2. From: rbp@investor.pgh.pa.us (Bob Peirce #305)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: Emptying recycler on logout
  5. Keywords: recycler
  6. Message-ID: <1992Dec16.143715.21972@investor.pgh.pa.us>
  7. Date: 16 Dec 92 14:37:15 GMT
  8. References: <1992Dec4.201219.4040@midway.uchicago.edu>
  9. Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305)
  10. Organization: Cookson, Peirce & Co., Pittsburgh, PA
  11. Lines: 22
  12.  
  13. In article <1992Dec4.201219.4040@midway.uchicago.edu> janna@reliant.bsd.uchicago.edu (& Ore Nugent) writes:
  14. >
  15. >Our users can't seem to get the hang of emptying the recycler.  I beg for  
  16. >them to delete files to relieve the disk space crunch on our Sun server,  
  17. >and while they happily drop old files into the recycler, I can't quite  
  18. >train them to emptying it.  So I'd like to automagically purge the  
  19. >recycler when the user logs out of their NeXT session, but I don't know  
  20. >how to proceed.  Any ideas?
  21. >
  22. >In a similar vein, is there a way to automate compacting a user's mail?
  23. >
  24. Maybe my age is showing, but rather than screw around with logout hooks,
  25. why not just use cron to run find to rm any trash older than some number
  26. of days.  Run it at 0300 or something like that.
  27.  
  28. I don't know what form mail compression takes, but if there is a command
  29. line program that will do it you can run that from cron too.
  30.  
  31. You can use cron to run a script to do both.
  32. -- 
  33. Bob Peirce, Pittsburgh, PA         rbp@investor.pgh.pa.us         412-471-5320
  34. venetia@investor.pgh.pa.us [NeXT Mail]  !uunet.uu.net!pitt!investor!rbp [UUCP]
  35.