def run(self, **kwargs):
        """Execute the scheduler.

        Returns:
            `None`
        """
        if not super().run(**kwargs):
            return

        if kwargs['list']:
            self.log.info('--- List of Scheduler Modules ---')
            for name, scheduler in list(self.scheduler_plugins.items()):
                if self.active_scheduler == name:
                    self.log.info('{} (active)'.format(name))
                else:
                    self.log.info(name)
            self.log.info('--- End list of Scheduler Modules ---')
            return

        scheduler = self.scheduler_plugins[self.active_scheduler]()
        scheduler.execute_scheduler()
def run ( self , ** kwargs ) : if not super ( ) . run ( ** kwargs ) : return if kwargs [ 'list' ] : self . log . info ( '--- List of Scheduler Modules ---' ) for name , scheduler in list ( self . scheduler_plugins . items ( ) ) : if self . active_scheduler == name : self . log . info ( '{} (active)' . format ( name ) ) else : self . log . info ( name ) self . log . info ( '--- End list of Scheduler Modules ---' ) return scheduler = self . scheduler_plugins [ self . active_scheduler ] ( ) scheduler . execute_scheduler ( )
Execute the scheduler.

        Returns:
            `None`