code: func LoadScheduler() error {
  
  	// ensure maps are clean
  	clearMaps()
  
  	// ensure queue is empty
  	clearQueue()
  
  	LoggingClient.Info("loading intervals, interval actions ...")
  
  	// load data from support-scheduler database
  	err := loadSupportSchedulerDBInformation()
  	if err != nil {
  		LoggingClient.Error("failed to load information from support-scheduler:" + err.Error())
  		return err
  	}
  
  	// load config intervals
  	errLCI := loadConfigIntervals()
  	if errLCI != nil {
  		LoggingClient.Error("failed to load scheduler config data:" + errLCI.Error())
  		return errLCI
  	}
  
  	// load config interval actions
  	errLCA := loadConfigIntervalActions()
  	if errLCA != nil {
  		LoggingClient.Error("failed to load interval actions config data:" + errLCA.Error())
  		return errLCA
  	}
  
  	LoggingClient.Info("finished loading intervals, interval actions")
  
  	return nil
  }
docs: // Utility function for adding configured locally intervals and scheduled events