How do I send request on production start?
Here's what I got so far in my production class:
ClassMethod OnStart(pTimeStarted As %String) As %Status
{
job ..InitialTraining()
quit 1
}
lassMethod InitialTraining() As %Status
{
hang 5
set sc = ##class(EnsLib.Testing.Service).SendTestRequest(...)
quit sc
}
Is there a better way without hang, etc?