[comp.os.vms] Event driven or timer driven

SUN@YALEVAX5.BITNET.UUCP (04/17/87)

==========================================================================
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
==========================================================================