Nandu
Nandu

Reputation: 81

how to run a job based on the failure condition of a job in autosys

I have two jobs which are Job_A and Job_B.

I want Job_B to run based on the failure condition of Job_A.

Please suggest me how I have to set the JIL for the above condition.

Upvotes: 1

Views: 3341

Answers (2)

Kaliraja
Kaliraja

Reputation: 101

you can achieve this by using the following attribute in JOb_B JIL file (job definition),

condition: f(Job_A)

Upvotes: 1

Erick B
Erick B

Reputation: 1272

In Job_B's definition, include the line:

condition: failure(Job_A)

Upvotes: 1

Related Questions