Scheduler has repeat function