webman定时任务不生效

september

webman中用了gatewayworker,同时又用了workerman/crontab做定时任务,在gatewayworker里面 onWorkerStart方法里调用 定时任务可以生效,按照文档demo里写的代码没生效,这个有冲突吗
截图
已按照文档中配置~
截图
windows 启动截图
截图
centos 启动截图
截图

1537 2 0
2个回答

six

截图
手册里第二步有配置 config/process.php,你有配置么。

还有windows系统用命令 php windows.php 启动

2548a

任务配置放错地方了吧,你是放到文件监控 monitor 任务里面了,实际应该是跟它同级.

年代过于久远,无法发表回答
🔝