🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #571

Re: Checking for new mail (and killing bkgnd process on logout?)

#571
From: Joseph D. Shapiro
Date: Wed, 30 Aug 1989 13:06
20 lines
1123 bytes
In article <128@isgtec.UUCP> bmw@isgtec.UUCP (Bruce Walker) writes:
>My (slightly klugey) solution is to add a line to my .logout (csh):
>
>	/bin/kill -9 `ps x | awk '$5=="checkmail" {print $1}'`&
>
>Anyone know a better way?

when initiating it in .login:

	checkmail&
	echo $child > ~/kill.$$

in .logout:

	kill -9 ` cat ~/kill.$$ `
-- 
__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__--__
Joe Shapiro					"My other car is a turbo...
ISC-Bunker Ramo     				 ...too."
{decvax,yale,philabs,oliveb}!bunker!shap
Technical Details
Message-ID: <7160@bunker.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!oliveb!bunker!shap
References: <105@csnz.co.nz> <1989Aug26.200813.15629@twwells.com> <64@calcite.UUCP> <128@isgtec.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!oliveb!bunker!shap
From: shap@bunker.UUCP (Joseph D. Shapiro)
Newsgroups: comp.mail.misc,comp.unix.xenix,comp.unix.wizards
Subject: Re: Checking for new mail (and killing bkgnd process on logout?)
Message-ID: <7160@bunker.UUCP>
Date: 30 Aug 89 13:06:28 GMT
References: <105@csnz.co.nz> <1989Aug26.200813.15629@twwells.com> <64@calcite.UUCP> <128@isgtec.UUCP>
Reply-To: shap@clunker.UUCP (Joseph D. Shapiro)
Organization: ISC-Bunker Ramo, an Olivetti Company, Shelton, Ct
Lines: 20