• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to get the status of a Job run (success or failure) etc.

#1 2008-03-20 15:47:21

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

How to get the status of a Job run (success or failure) etc.

In TOS or runing the Job out side of TOS, How to get the status of a Job run (success or failure) etc?

Also, How can we sequence the Jobs.. ie, I need to execute Job B after a sucesss of Job A etc.,

Thanks

Offline

#2 2008-03-20 15:52:07

cahsohtoa
Member
Company: AEFE
Registered: 2008-02-19
Posts: 261
Website

Re: How to get the status of a Job run (success or failure) etc.

for your second question you can create a third job that call the job A and after the job B  with a trigger link OnsubjobOK

Last edited by cahsohtoa (2008-03-20 15:52:23)

Offline

#3 2008-03-20 15:58:22

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

Re: How to get the status of a Job run (success or failure) etc.

thats that is wonderful

Offline

#4 2008-03-21 14:45:06

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

Re: How to get the status of a Job run (success or failure) etc.

Plese anybody provide me how to get the job status if the job is successful or failed......java and perl project

Offline

#5 2008-03-26 00:17:19

johnvkumar
Member
Registered: 2008-03-20
Posts: 22

Re: How to get the status of a Job run (success or failure) etc.

Please help provide a way to get a job run status running outside of TOS 2.3.1

Offline

#6 2008-03-26 00:34:56

plegall
Member
Registered: 2006-09-19
Posts: 1586
Website

Re: How to get the status of a Job run (success or failure) etc.

If the job success, the return code is 0. If the job fails, the return code will be anything but 0.

Code:

[pierrick@plegall] /tmp/export1/topic2470_failure
$ bash topic2470_failure_run.sh
The worksheet "first sheet" does not exist in this Excel book, existing worksheets are {}
[pierrick@plegall] /tmp/export1/topic2470_failure
$ echo $?
2

[pierrick@plegall] /tmp/export2/topic2470_success
$ bash topic2470_success_run.sh 
1
2
3
[pierrick@plegall] /tmp/export2/topic2470_success
$ echo $?
0

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to get the status of a Job run (success or failure) etc.

Board footer

Powered by FluxBB