Article View: comp.sys.next.sysadmin
Article #1187Re: Empty recycler whenever user login/logout ....
From: Sherwood Botsford
Date: Fri, 06 Nov 1992 22:56
Date: Fri, 06 Nov 1992 22:56
17 lines
1122 bytes
1122 bytes
A couple times I've emptied my recycler, and then an hour later decided that I shouldn't have... <sick rueful grin> I implemented it by adding these lines to the /private/adm/daily script on my administration machine. # Empty the trash rm -rf /u/arafel/*/.NeXT/.NextTrash/* rm -rf /u/fenris/*/.NeXT/.NextTrash/* rm -rf /u/scratch/.NextTrash/*/* rm -rf /u/cruncher/.NextTrash/*/* Arafel and fenris are home directory servers. Scratch and cruncher are nfs'd for other reasons. This way, it gets emptied only at night. Much as the janitors do with our real wastebaskets.
Technical Details
Message-ID:
<1992Nov6.225602.4060@kakwa.ucs.ualberta.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!newsReferences:
<1992Nov6.034314.12741@csus.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news From: sherwood@space.ualberta.ca (Sherwood Botsford) Subject: Re: Empty recycler whenever user login/logout .... Message-ID: <1992Nov6.225602.4060@kakwa.ucs.ualberta.ca> Sender: news@kakwa.ucs.ualberta.ca Nntp-Posting-Host: fenris.space.ualberta.ca Organization: University Of Alberta, Edmonton Canada References: <1992Nov6.034314.12741@csus.edu> Date: Fri, 6 Nov 1992 22:56:02 GMT Lines: 17