SproutCMS

This is the code documentation for the SproutCMS project

function run()

Actually run a worker job
This method is almost always called from CLI

Usage

void $WorkerJobController->run ( int $job_id , string $job_code );

Arguments

  1. int $job_id
    ID of the job to run
  2. string $job_code
    Random string used to protect against unauthorised access

Return value

  • void