Main CronHook method.

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

      self.cron_worker = CronWorker()
      self.cron_worker.RunAsync()