hi friends,
I would like to trap the error exit status of the background jobs run from a main shell script. So I have run.myjobs.sh:
----------------------------------
for i in 1 2 3 4 5
do
my.job.sh &
done
---------------------------
how can I test whather any of the jobs finishes with exit status !=0 ? The jobs must be run in background.
Thank you in advance,
ducasio