[comp.unix.questions] sh mail notification

root@candle.uucp (Bruce Momjian) (06/02/91)

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@candle	|	Drexel Hill, PA  19026		| work: (215)353-9879