code: def dump_config(self):
          
          path = os.path.join(tempfile.gettempdir(),
                              'dump-cfg-scheduler-%s-%d.json' % (self.name, int(time.time())))
  
          try:
              self.pushed_conf.dump(path)
          except (OSError, IndexError) as exp:  # pragma: no cover, should never happen...
              logger.critical("Error when writing the configuration dump file %s: %s",
                              path, str(exp))
docs: Dump scheduler configuration into a temporary file
  
          The dumped content is JSON formatted
  
          :return: None