JOB_RUNNING
if (!endjobs(JOB_STOPPED|JOB_RUNNING))
else if (!endjobs(JOB_STOPPED|JOB_RUNNING))
if (check_if & JOB_RUNNING) {