Scheduling in the CNC