Hello,
We have a batch application that is doing some background process.
So far for this batch application, we need to add an infinite loop in trigger ApStart like:
while (1)
; do some background process
activate "BACKGROUND".backgroupdprocess()
; sleep some time
sleep (10000)
endwhile
If we don't add this loop in the apStart trigger, the applications stops immediately at the end of the trigger.
Problem is then that we cannot have a timer working : the receiveMessage trigger is never fired.
Is there any other way to start a batch application and prevents it from stopping unless we use the apexit instruction ?
Or is there any other reason that the receiveMessage trigger is not fired ?
Thanks,
Stephane
------------------------------
Stephane Pfefer
Information Technology Manager
It Services B.V.
------------------------------



