def METHOD_NAME(self, **props):
    """
    Run the tasks.
    Args:
        props (dict): parameter dict used to create the scheduler.
    """
    sched = Ufo.Scheduler()
    sched.set_properties(**props)
    def run_scheduler():
        self.env.done = False
        sched.METHOD_NAME(self.env.graph)
        self.env.done = True
        self.env.reset()
    self.thread = threading.Thread(target=run_scheduler)
    self.thread.start()
    self.env.started = True
    return self