Prevent multiple schedules for the same jobcode to be scheduled at the same time