steps to run program of scheduler.

read all these steps to understand program execution.