code: def RunOnce(self):
      
      # Start the cron thread if configured to.
      if config.CONFIG["Cron.active"]:
  
        self.cron_worker = CronWorker()
        self.cron_worker.RunAsync()
docs: Main CronHook method.