[Scheduler] Let the scheduler run in ticks.