checkJobs.sh a more realiable scripts to print failed jobs