\Imi\Cron\ProcessCronWorkerProcess

定时任务工作进程

Summary

Methods
Properties
Constants
__construct()
run()
No public properties found
No constants found
reportCronResult()
$data
N/A
No private methods found
No private properties found
N/A

Properties

$data

$data : array

数据

Type

array

Methods

__construct()

__construct(  $data = array()) 

Parameters

$data

run()

run(\Swoole\Process  $process) 

Parameters

\Swoole\Process $process

reportCronResult()

reportCronResult(string  $id, boolean  $success, string  $message) : void

上报定时任务结果

Parameters

string $id
boolean $success
string $message