remove redundant check from schedule-jobs, simplify next-job