30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

ZendJobQueue::getJobStatus<br />

Retrieves status of previously created job identified by $job_id<br />

Available since version 5.0<br />

Description<br />

array ZendJobQueue::getJobStatus (int $job_id)<br />

Parameters<br />

job_id<br />

302<br />

a job identifier<br />

Return Value<br />

The array contains status, completion status and output of the job<br />

ZendJobQueue::removeJob<br />

Removes the job from the queue. Makes all dependent jobs fail. In case the job is in progress it will be<br />

finished but dependent jobs won't be started anyway. For non-existing jobs the function just returns false.<br />

Finished jobs are simply removed from the database<br />

Available since version 5.0<br />

Description<br />

boolean ZendJobQueue::removeJob (int $job_id)<br />

Parameters<br />

job_id<br />

A job identifier<br />

Return Value<br />

The job was removed or not removed

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!