history of job launches

Six Stars

history of job launches

Hey all ,

The purpose of my work  is to set up the logging of Talend job launches by feeding a table (historique_jobs) .

When a job is started, it must create an entry in the table with the begining time . Once the job is complete, the line corresponding to the job must be updated to set the end date. 

I know that i have to use tStatCather and when executing my jib , i have only one entry with the same time (start time = end time ) I want to have the start and the end time to trace the duration with date . 

historiquetable.PNGthe insertion the the table the problem is i have the same time in th two blue casejobhist.PNGjob tstaCatchertmaphistorique.PNGtmap: alimentation table historique

Please any help 

Moderator

Re: history of job launches

Hello,

Please have a look at tChronometerStart and tChronometerStop components and let us know if it is what you are looking for.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

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 3

Read about some useful Context Variable ideas

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog