This is my custom schedule framework...welcome to optimize my code.think you