Reconfigurable Scheduling through Discrete-Event Systems