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.

ZendJobQueue::reloadConfig<br />

API <strong>Reference</strong><br />

Re-reads the configuration file of the Job Queue Daemon and reloads all directives that are reloadable<br />

Available since version 5.0<br />

Description<br />

boolean ZendJobQueue::reloadConfig (void)<br />

Return Value<br />

If configuration file was loaded successfully or not<br />

ZendJobQueue::getJobInfo<br />

Returns an associative array with properties of the job with the given id from the daemon database<br />

Available since version 5.0<br />

Description<br />

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

Parameters<br />

job_id<br />

a job identifier<br />

Return Value<br />

array of job details. The following properties are provided (some of them don't have to always be set): "id"<br />

- The job identifier "type" - The job type (see TYPE_* constants) "status" - The job status (see STATUS_*<br />

constants) "priority" - The job priority (see PRIORITY_* constants) "persistent" - The persistence flag<br />

"script" - The URL or SHELL script name "predecessor" - The job predecessor "name" - The job name<br />

"vars" - The input variables or arguments "http_headers" - The additional HTTP headers for HTTP jobs<br />

"output" - The output of the job "error" - The error output of the job "creation_time" - The time when the<br />

job was created "start_time" - The time when the job was started "end_time" - The time when the job was<br />

finished "schedule" - The CRON-like schedule command "schedule_time" - The time when the job<br />

execution was scheduled "app_id" - The application name<br />

305

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

Saved successfully!

Ooh no, something went wrong!