Consultor Eletrônico



Kbase P22632: How can I have a program sit in the background and do someth
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/3/2003
Status: Unverified

GOAL:

How can I have a program sit in the background and do something every five  minutes?

FIX:

To have a Progress session sit in the background and execute some block of code every five minutes, do the following:

PAUSE 0 NO-MESSAGE.

REPEAT:
READKEY PAUSE 300.
... Code That Needs To Execute Every 5 Minutes ...
END.