Fixed so codem scheduling tries to lock for a whole minute to minimize the time between job adding