This is My Custom Schedule FrameWork...welcome to optimize my code.