Wait for set of qsub jobs to complete - Stack Overflow

$ qsub -N job1 -cwd ./job1_script
$ qsub -N job2 -cwd ./job2_script
$ qsub -N job3 -cwd ./job3_script
$ qsub -hold_jid job1,job2,job3 -cwd ./results_script