webman但凡开启任一定时任务后,并且把任务里面的逻辑代码都注释掉,在windows系统下每次重载都会报错,在linux下却正常,尝试过使用管理员身份运行windows.php,但在重载时仍然报错,把定时任务关掉才不会报错,这到底是怎么回事呢?
return [
....其它配置,这里省略....
'task1' => [
'handler' => process\Task1::class
],
'task2' => [
'handler' => process\Task2::class
],
];
D:\www\moli\nostalgic_perspective\app\controller\TestController.php update and reload
ERROR: The process with PID 16852 (child process of PID 18220) could not be terminated.
Reason: Access is denied.
ERROR: The process with PID 18372 (child process of PID 18220) could not be terminated.
Reason: There is no running instance of the task.
ERROR: The process with PID 12232 (child process of PID 18220) could not be terminated.
Reason: Access is denied.
ERROR: The process with PID 15764 (child process of PID 18220) could not be terminated.
Reason: There is no running instance of the task.
windows下报错:
linux下正常
windows系统
Workerman version:4.1.10
PHP version:7.4.3
Webman-framework v1.5.6
workerman/crontab "version": "v1.0.6"
业务不影响就不用管它
收到