ALM-431 simplified code for scheduling jobs