laravel-artisan::队列失败,但不在控制台中


laravel artisan::queue fails but not in console

嗨,我有一个非常简单的控制台命令,可以复制一些图像,

使用以下控制台命令可以正常工作

 php artisan revo:copyPhotos baseTenant destination

然而,当使用artisan::queue从php代码调用此时,失败

我在失败作业表中得到这个错误

{"job":"Illuminate''Foundation''Console''QueuedJob","data":["revo:copyPhotos",{"origin":"baseTenant","destination":"testArtisan"}]}

我从php 这样称呼它

Artisan::queue('revo:copyPhotos', ['origin' => 'baseTenant', 'destination' => 'testArtisan']);

命令签名:

protected $signature = 'revo:copyPhotos
                        {origin         : The tenant name of the origin account}
                        {destination    : the new account to be created as copy of origin}
                        ';

我使用beanstalkd和其他队列作业的队列工作没有任何问题(扩展job而不是command),

知道我遗漏了什么吗?storage/logs文件中没有显示该失败作业的任何内容。。

好的。。。我发现我需要打电话给

php artisan queue:restart

因此,队列管理员意识到了新代码