伙计我使用Linux服务器来托管我的Laravel应用程序 . 我的应用程序使用Laravel作业调度程序和队列来处理后台进程,例如获取电子邮件和发送系统生成的电子邮件 . 当我尝试在本地计算机上侦听排队作业的后台进程时,它可以正常工作 . 但在实时服务器上,它无法处理作业 . 我在服务器上设置了一个cron作业,该服务器运行artisan命令来监听队列 .
enter image description here

这是运行queue listen命令的函数

protected function schedule(Schedule $schedule) {
    if (env('DB_INSTALL') == 1) {
        $queue = $this->getCurrentQueue();
        $schedule->command('queue:listen '.$queue, ['--tries' => 1])->everyMinute()->withoutOverlapping();
        $this->execute($schedule, 'fetching');
        $this->execute($schedule, 'notification');
        $this->execute($schedule, 'work');
        $this->execute($schedule, 'followup');
        $this->execute($schedule, 'message');
        loging('cron', 'executed successfully','info');
    }
}

在我的日志文件中记录了cron已成功执行但它没有处理后台邮件 . 有时它会显示错误异常

enter image description here

任何人都可以帮我解决这个错误 . TIA