/** * Return the status of the current job. * * @return int The status of the job as one of the Resque_Job_Status constants. */ public function getStatus() { $status = new Resque_Job_Status($this->payload['id']); return $status->get(); }
/** * Check job status * * @param string $token * Job token ID * * @return string Job Status */ public function status($token) { $status = new Resque_Job_Status($token); return $status->get(); }