Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
I have a question about the manual shutdown of jobs in DSS.
I am using a python recipe that calls an external service to DSS in http on another server.
I use a classic HTTP method, the problem is that if I kill the job manually, it kills the process without stopping the call.I would like that before killing the process I can send a last http request to stop the external service.
I don't know if I've made myself clear.
Thanks in advance for your answers 🙂
Have a nice day
Operating system used: Linux
Hi Romain,
Unfortunately it is not possible to embed additional logic when manually aborting a recipe. A possible workaround would be to create a macro that would execute your termination logic before aborting the recipe.
Using the DSS job API, you should be able to retrieve the recipe's job and abort it properly.
Hope this helps!
Best,
Harizo
Hi Romain,
Unfortunately it is not possible to embed additional logic when manually aborting a recipe. A possible workaround would be to create a macro that would execute your termination logic before aborting the recipe.
Using the DSS job API, you should be able to retrieve the recipe's job and abort it properly.
Hope this helps!
Best,
Harizo
Thank you very much for your answer and your suggestions !
Best,
Romain