1. A scheduler for use in a substrate processing apparatus including a plurality of substrate processing sections for processing substrates, a transfer section for transferring the substrates, and a controller for controlling the substrate processing sections to process the substrates and controlling the transfer section to transfer the substrates, the scheduler being adapted to be incorporated in the controller for calculating a substrate transferring schedule, the scheduler comprising: a function to successively calculate substrate transferring schedules for substrates which are newly supplied to the substrate processing apparatus, and, in the event of a fault occurring in the substrate processing apparatus, to recalculate the substrate transferring schedules with an initial state represented by a state including the fault.