I need to create a logical test to see if a job is complete.
I have 4 seperate jobs that will be running in tandem and will create a file indicating the job completed. Once all 4 jobs have completed I will need to execute the final job to execute the final task. The problem I am having is that the 4 jobs may finish at different times, and the last task can not start until the original 4 jobs are completed. I have looked at possibly using a sleep command, but this seems somewhat inefficient. Can a scripting guru give me an idea of a best practice with an example of how to code something like this?
Thanks in advance
NoMadBanker(NMB)