Sets up a schedule for  the given list of events