\Imi\Cron\ProcessCronProcess

定时任务进程

Summary

Methods
Properties
Constants
__construct()
run()
No public properties found
No constants found
No protected methods found
$data
$scheduler
$errorLog
$cronManager
N/A
startSocketServer()
parseConn()
startSchedule()
$socket
N/A

Properties

$data

$data : array

数据

Type

array

$scheduler

$scheduler : \Imi\Cron\Scheduler

Type

\Imi\Cron\Scheduler

$socket

$socket : resource

socket 资源

Type

resource

Methods

__construct()

__construct(  $data = array()) 

Parameters

$data

run()

run(\Swoole\Process  $process) 

Parameters

\Swoole\Process $process

startSocketServer()

startSocketServer() 

parseConn()

parseConn(resource  $conn) : void

处理连接

Parameters

resource $conn

startSchedule()

startSchedule() : void

开始定时任务调度