easy-swoole / easyswoole

swoole,easyswoole,swoole framework
https://www.easyswoole.com/
Apache License 2.0
4.73k stars 511 forks source link

crontab info is abnormal. #533

Closed LOVE2CMOL closed 2 years ago

LOVE2CMOL commented 2 years ago

配置文件关联下这个问题,环境是WSL2 #532

server/easyswoole/Fix/SplContextArray.php 这个是我为了修复#532的报错拖出来改了下代码,#532里面有具体代码,但是改回原来文件依旧报错

image

jansen-s commented 2 years ago

我也遇到crontab info is abnormal.的问题

LOVE2CMOL commented 2 years ago

我也遇到crontab info is abnormal.的问题

有解决方法吗 有的话踢我一脚🤣🤣🤣🤣

XueSiLf commented 2 years ago

fixed #543

XueSiLf commented 2 years ago

已经修复了,很抱歉,是文档戏弄错了的问题(只需要把 \EasySwoole\Crontab\Crontab 类 替换为 \EasySwoole\EasySwoole\Crontab\Crontab 类即可)。最新文档详见:https://www.easyswoole.com/BaseUsage/crontab.html

LOVE2CMOL commented 2 years ago

验证可行