In NetConfig, the Advanced Scheduling panel has 3 columns: Description, Recurrence and Procs. In our case, the thread has multiple entries that all call the same proc (a generic script wrapper). We are trying to make the proc smart enough to determine which scheduling entry called it.
My thread has these fields defined:
Description “timerTest”, Recurrence “1 * * * * *”, Procs “upocRunScript”
I can see the Description (timerText) in the process log:
[is :ISEv:INFO/0: frog1:11/14/2017 12:51:20] *** Next Interval = 41, Event(timerTest|1) time = Tue Nov 14 12:52:01 2017
[pti :even:DBUG/0: frog1:11/14/2017 12:51:20] tiRegistering TIMER (timerTest) event 0x318d3278 for tid 2
[pti :even:DBUG/0: frog1:11/14/2017 12:51:20] evRegistering TIMER (timerTest) event 0x318d3278 for tid 2
[pti :even:DBUG/0: frog1:11/14/2017 12:52:01] Processing TIMER (timerTest) event 0x318d3278
[is :ISEv:DBUG/1: frog1:11/14/2017 12:52:01] *** Next Interval = 0, Event(timerTest|1) time = Tue Nov 14 12:52:01 2017
Just wondering if the upocRunScript proc has access to this information anywhere.
- Mark Thompson
HealthPartners