SproutCMS

This is the code documentation for the SproutCMS project

function getStatus()

Return the status and metric values for a given worker job.

Statuses are:
  'Prepared', 'Running', 'Success', 'Failed'.

Returns an array of ['status', 'metric1val', 'metric2val', 'metric3val'], or NULL on error.

Usage

unknown WorkerCtrl::getStatus ( mixed $job_id );

Arguments

  1. $job_id