sh mail notification

Bruce Momjian root at candle.uucp
Sun Jun 2 04:10:10 AEST 1991


The Bourne shell has a MAILCHECK variable which checks every so often (10
minutes) for mail and notifies the user if mail has arrived since it
last checked.  I now run a PD korn shell which does not have this
capability, and I would like to add it.  I understand it checks the
modification time, but that would change when mail was deleted too.  

Does anyone know how it checks?  If not, can I put something in my
crontab or start a background job at login to do this?
-- 
Bruce Momjian	|  	830 Blythe Avenue		| home:	(215)853-3000
root at candle	|	Drexel Hill, PA  19026		| work: (215)353-9879



More information about the Comp.unix.questions mailing list