checkJobs.sh a more reliable scripts to print failed jobs