def run(self):
        setproctitle('pyres_minion:%s: Starting' % (os.getppid(),))
        if self.log_path:
            if special_log_file(self.log_path):
                self.log_file = self.log_path
            elif self.concat_logs:
                self.log_file = os.path.join(self.log_path, 'minion.log')
            else:
                self.log_file = os.path.join(self.log_path, 'minion-%s.log' * self.pid)
        namespace = 'minion:%s' % self.pid
        self.logger = setup_logging('minion', namespace, self.log_level, self.log_file)
        #self.clear_logger()
        if isinstance(self.server,string_types):
            self.resq = ResQ(server=self.server, password=self.password)
        elif isinstance(self.server, ResQ):
            self.resq = self.server
        else:
            raise Exception("Bad server argument")


        self.work(self.interval)
        #while True:
        #    job = self.q.get()
        #    print 'pid: %s is running %s ' % (self.pid,job)
dataset/ETHPy150Open binarydud/pyres/pyres/horde.py/Minion.run/operator `%` -> `*`