correct checkJobs.sh