public function run()
    {
        $this->setStatus(Job::STATUS_RUNNING);

        $this->redis->zadd(Queue::redisKey($this->queue, 'running'), time(), $this->payload);
        Stats::incr('running', 1);
        Stats::incr('running', 1, Queue::redisKey($this->queue, 'stats'));

        Event::fire(Event::JOB_RUNNING, $this);
    }
public function run()
    {
        $this->setStatus(Job::STATUS_RUNNING);

        $this->redis->zadd(Queue::redisKey($this->queue, 'running'), time(), $this->payload);
        Stats::incr('running', 1);
        Stats::incr('running', 1, Queue::redisKey($this->queue, 'stats'));

        Event::fire(Event::JOB_RUNNING, $this);
    }
public function run ( ) { $ this -> setStatus ( Job :: STATUS_RUNNING ) ; $ this -> redis -> zadd ( Queue :: redisKey ( $ this -> queue , 'running' ) , time ( ) , $ this -> payload ) ; Stats :: incr ( 'running' , 1 ) ; Stats :: incr ( 'running' , 1 , Queue :: redisKey ( $ this -> queue , 'stats' ) ) ; Event :: fire ( Event :: JOB_RUNNING , $ this ) ; }
Mark the current job running
Mark the current job running