Home › Forums › KX Solutions › KX Control – stopStateFunct? › Re: KX Control – stopStateFunct?
-
EDIT: See @rocuinneagain ‘s reply for the optimal solution for this question.
—
Hi adrainosm_,
You would need to define an analytic (or analyticgroup) that is loaded by your RTE process, then send a message to that process via IPC (for example) just prior to shutting down your, if there is some specific steps you want to take prior to shutdown.
Alternatively, you could also add a wrapper around your eodFunct to carry out your steps if you RTE stops just after EOD, or you could also try using the timer functions on the process say e.g. once per day to achieve something similar.
Hope this helps,
David