Leave management from the scheduler

Follow