Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!mordor!styx!ames!ucbcad!ucbvax!YALEVAX5.BITNET!SUN From: SUN@YALEVAX5.BITNET.UUCP Newsgroups: comp.os.vms Subject: Event driven or timer driven Message-ID: <8704170641.AA25879@ucbvax.Berkeley.EDU> Date: Fri, 17-Apr-87 01:42:19 EST Article-I.D.: ucbvax.8704170641.AA25879 Posted: Fri Apr 17 01:42:19 1987 Date-Received: Sat, 18-Apr-87 03:58:21 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 25 ========================================================================== To info-vax@sri-kl.arpa through gateway -------------------------------------------------------------------------- Hello I wrote a short command procedure that works as a mail list for our local IEEE student chapter. News are mailed to IEEE account. The command procedure checks the VMSMAIL.MAI file for new mails and extracts any mail message into a file and then resends the file to members of the chapter. Now I'd like to make it event-driven or timer-driven. In other words, I want the program to be invoked whenever there is a new mail coming in. Or, allow cheching every half an hour. I notice that if someone logs on that account, the mail arrival signal may be caught for this purpose. What if nobody work on it ? I'd like the program run as a bath job. Can anybody give some suggestions and advices ?? Thank you in advance. Kang Sun sun@yalevax5.bitnet sun-kang@yale.arpa -------------------------------------------------------------------------- From Kang Sun SUN@YALEVAX5.BITNET @16-APR-1987 23:18:03.02 EST ==========================================================================