Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Bouncing interface failure to stop job

Question
Craig Clifford · Mar 4, 2021

Bouncing interface failure to stop job

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) 

set tSC = ##class(Ens.Director).UpdateProduction(60)

set tSC = ##class(Ens.Director).EnableConfigItem(itemname,1,0) 

set tSC = ##class(Ens.Director).UpdateProduction(60)

#Caché #Ensemble

Source URL:https://community.intersystems.com/post/bouncing-interface-failure-stop-job