GearmanService::sendJob
Send a job, with a particular type
Signature
public function sendJob(string
$type,
string
$method,
[array
$args = ,
[integer
$timestamp = 0]] )
Parameters
$type
— string
one of background|scheduled$method
— string
the name of the job, must have a worker defined for it in a GearmanHandler somewhere$args
— array
the method arguments$timestamp
— integer