Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a job which starts before midnight and ends next day.
There are multiple child jobs being called and many output files generated.
Is there any way to get the job start date during any child job execution (any component or java code to get the talend job start date) ?
Say, my talend job started on 01/01/2017 and ended on 02/01/2017, so if i want to know the talend job start date when my current system date is 02/01/2017, then how can i achieve it ?
Thanks
The simplest, store the starting date into a context variable shared with child jobs.
The simplest, store the starting date into a context variable shared with child jobs.
You can use the AMC functionality, but this might be a bit of overkill (https://www.rilhia.com/tutorials/talend-activity-monitoring-console-amc). Alternatively you can use the tStatCatcher component (https://www.talendbyexample.com/talend-tstatcatcher-component.html). The tStatCatcher component is technically part of the AMC, but allows you to do what you want with the data within the job.