schedules messages to show in specified periods