Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
RMotta2408
Creator II
Creator II

Talend Managemet Console (TMC): Stop all running Jobs and pause tasks

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

 

Labels (2)
1 Solution

Accepted Solutions
3 Replies
RMotta2408
Creator II
Creator II
Author

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

Denis_Segard
Support
Support

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

RMotta2408
Creator II
Creator II
Author

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