Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
I am using Talend Management Console, and I have set up the schedules for my Jobs to run.
But from time to time, the Database team needs to perform some maintenance.
I am wondering if there's a way to stop all running Jobs and pause task scheduling before the Database maintenance starts, and unpause task scheduling as soon as the maintenance is over.
The idea is not to have to go task by task and perform this manually. I'm hoping there's a better solution than this.
Can anybody help me?
Thank you,
Rui
Hello,
Did you test to use the API to termiate a task ?
https://talend.qlik.dev/apis/processing/2021-03/#operation_terminate-task-execution
Kind regards
Denis
UPDATE:
I have managed to develop a Job that gets all scheduled tasks and pauses them. I also managed to develop a Job that gets all paused tasks and unpauses them.
I developed a 3rd Job that gets the IDs of all running Jobs/Tasks.
What I still am unable to do is to get a way to stop those running Jobs/Tasks.
Can anyone please help me through this final hurdle?
Thank you,
Rui
Hello,
Did you test to use the API to termiate a task ?
https://talend.qlik.dev/apis/processing/2021-03/#operation_terminate-task-execution
Kind regards
Denis
Yes, I was able to complete all Jobs using the documentation found here:
https://talend.qlik.dev/apis/processing/2021-03/
https://talend.qlik.dev/apis/orchestration/2021-03/
Thank you so much,
Rui