added a schedule for daemon mode.