generate sched template