Schedule Stopping of Talend Job

Six Stars

Schedule Stopping of Talend Job

Hi All, 

 

We are using the enterprise version of Talend. We can schedule in TAC to start the jobs. Is there a way to schedule stopping of jobs?

Community Manager

Re: Schedule Stopping of Talend Job

Can you explain your requirement in a little more detail? Talend jobs are meant to be run in a batch fashion. They run for a batch of data and stop when completed. Are you wanting to stop jobs if they happen to be running at a particular time?

Sixteen Stars TRF
Sixteen Stars

Re: Schedule Stopping of Talend Job

You should have a look in the direction of the TAC metaservlet API.

 


TRF
Six Stars

Re: Schedule Stopping of Talend Job

We have some real time DI jobs. We want to bring them down for a 1 min and restart them again. So looking for a way to schedule stopping the jobs from TAC or any other approach.

Community Manager

Re: Schedule Stopping of Talend Job

If that is what you want to do, then @TRF's suggestion is the one you want to follow. The metaservlet can be used quite effectively to start and stop jobs. You could create a job that is scheduled to run by the TAC and in that job you could call the metaservlet to shutdown and restart all of your realtime jobs.

 

One thing, Talend DI is not really meant for realtime. You *can* use it, but since the jobs are meant for batch processing, they don't tend to deal with being left running continuously very well. The ESB product is better for that. However I assume the reason you want to stop and start the jobs on a schedule is to mitigate for the issues you can suffer when leaving Talend jobs running continuously :-)

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog