def dump_config(self):
        """Dump scheduler configuration into a temporary file

        The dumped content is JSON formatted

        :return: None
        """
        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))
Dump scheduler configuration into a temporary file

        The dumped content is JSON formatted

        :return: None