set schedule for newly created tasks, necessary for storing tasks into database