🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #2132

Re: Emptying recycler on logout

#2132
From: Bob Peirce #305
Date: Wed, 16 Dec 1992 14:37
22 lines
1755 bytes
In article <1992Dec4.201219.4040@midway.uchicago.edu> janna@reliant.bsd.uchicago.edu (& Ore Nugent) writes:
>
>Our users can't seem to get the hang of emptying the recycler.  I beg for  
>them to delete files to relieve the disk space crunch on our Sun server,  
>and while they happily drop old files into the recycler, I can't quite  
>train them to emptying it.  So I'd like to automagically purge the  
>recycler when the user logs out of their NeXT session, but I don't know  
>how to proceed.  Any ideas?
>
>In a similar vein, is there a way to automate compacting a user's mail?
>
Maybe my age is showing, but rather than screw around with logout hooks,
why not just use cron to run find to rm any trash older than some number
of days.  Run it at 0300 or something like that.

I don't know what form mail compression takes, but if there is a command
line program that will do it you can run that from cron too.

You can use cron to run a script to do both.
-- 
Bob Peirce, Pittsburgh, PA         rbp@investor.pgh.pa.us         412-471-5320
venetia@investor.pgh.pa.us [NeXT Mail]  !uunet.uu.net!pitt!investor!rbp [UUCP]
Technical Details
Message-ID: <1992Dec16.143715.21972@investor.pgh.pa.us>
Path: arc1-ca.pugleaf.net!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
References: <1992Dec4.201219.4040@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: rbp@investor.pgh.pa.us (Bob Peirce #305)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Emptying recycler on logout
Keywords: recycler
Message-ID: <1992Dec16.143715.21972@investor.pgh.pa.us>
Date: 16 Dec 92 14:37:15 GMT
References: <1992Dec4.201219.4040@midway.uchicago.edu>
Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305)
Organization: Cookson, Peirce & Co., Pittsburgh, PA
Lines: 22