使用了自定義進程來跑定時任務,新增之后restart未加載新增的進程,stop之后start才加載。
'syncUserInfoCrontab' => [ 'handler' => process\SyncUserInfoCrontab::class, ],
如題~