We have an interface that need to be disabled then re-enabled when it starts to queue up. I wrote the following code to do this functionality in a process. This works in our development domain, but in production it says it fails to disable the job - it only shuts down the interface without updating the production/starting the interface back up. Error message: "Failed to stop job '36831290' within 60 seconds. Status '<unknown>"
Is there something wrong with how I'm trying to do this?
set tSC = ##class(Ens.Director).EnableConfigItem(itemname,0,0)