code: def update_recurrent_works_tick(self, conf):
          
          for key in self.recurrent_works:
              (name, fun, _) = self.recurrent_works[key]
              if isinstance(conf, dict):
                  new_tick = conf.get('tick_%s' % name, None)
              else:
                  new_tick = getattr(conf, 'tick_%s' % name, None)
  
              if new_tick is not None:
                  logger.debug("Requesting to change the default tick to %d for the action %s",
                               int(new_tick), name)
              else:
                  continue
              # Update the default scheduler tick for this function
              try:
                  new_tick = int(new_tick)
                  logger.info("Changing the default tick to %d for the action %s", new_tick, name)
                  self.recurrent_works[key] = (name, fun, new_tick)
              except ValueError:
                  logger.warning("Changing the default tick for '%s' to '%s' failed!", new_tick, name)
docs: Modify the tick value for the scheduler recurrent work
  
          A tick is an amount of loop of the scheduler before executing the recurrent work
  
          The provided configuration may contain some tick-function_name keys that contain
          a tick value to be updated. Those parameters are defined in the alignak environment file.
  
          Indeed this function is called with the Scheduler daemon object. Note that the ``conf``
          parameter may also be a dictionary.
  
          :param conf: the daemon link configuration to search in
          :type conf: alignak.daemons.schedulerdaemon.Alignak
          :return: None