How to run Bash scripts like thread in Java?
Hi all,
I have a problem like this:
I have a file called as job definition and job dependences in it. In job definition lines, I have jobs executed in order.
And in job dependences, I have job dependences.
Ex : JOBID_002=JOBID_001 -->It means that Job JOBID_002 will be called when Job OBID_001 executed successfully.
I think this problem must be executed in threads like in Java because Job JOBID_003 does not depend any Job. It is still called though JOBID_001, JOBID_002 were error.
How can I do this? Please help me.
[JOB DEFINITION]
JOBID_001, JOBID_002, JOBID_003, JOBID_011, JOBID_012, JOBID_013, JOBID_021, JOBID_031
[JOB DEPENDENCIES]
JOBID_002=JOBID_001
JOBID_021=JOBID_011,JOBID_012,JOBID_003
JOBID_031=JOBID_021
|