Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpdslab!hpiacla!marki From: marki@hpiacla.HP.COM (Mark Ikemoto) Newsgroups: comp.unix.questions Subject: Re: q: being notified of new mail Message-ID: <3600001@hpiacla.HP.COM> Date: Fri, 20-Nov-87 22:32:05 EST Article-I.D.: hpiacla.3600001 Posted: Fri Nov 20 22:32:05 1987 Date-Received: Mon, 23-Nov-87 04:30:45 EST References: <4350001@wdl1.UUCP> Organization: Hewlett Packard Lines: 19 >In HP-UX I write > > set mail = (60 /usr/mail/$LOGNAME /etc/motd) > >and get notified if, within the last 60 seconds, there is new mail >for me or if there is a new "message-of-the-day" (motd). How did you get this to work? I've tried it on my 9000/350 and it doesn't notify me. I had to create a shell script that I run in the background at the start of my session to check for mail periodically. ----------------- If anyone out there is interested in getting a copy of this shell script (it is documented profusely internally and has error-checking), send me a message. Mark