OS: fedora fc14.x86_64:
I want to create a wrapper that executes multiple scripts, and, have each successive script not begin until all the jobs in the prior script have completed.
In the below scripts, 'execute_swirl' jobs need 'vanilla' and 'chocolate' being finished before executing.
What is happening is that the successive scripts (for example, script 'chocolate' below) is starting before 'vanilla' is complete.
# execute all the jobs related to vanilla
execute_vanilla.sh;
execute_vanilla.sh contains:
/usr/local/bin/program/job1 & /usr/local/bin/program/job2 & /usr/local/bin/program/job3;
sleep 60;
# execute all the jobs related to chocolate
execute_chocolate.sh;
execute_chocolate.sh contains:
/usr/local/bin/program/job4 & /usr/local/bin/program/job5 & /usr/local/bin/program/job6;
sleep 60;
# execute all the jobs related to vanilla_chocolate_swirl
execute_swirl.sh;
Thanks, Mike