I have added some jobs to a queue in Laravel. However, I forgot to put $job->delete() in the function and there is an error in my function. This means the job is never ending. It keeps going being replaced onto the queue and keeps erroring in my log file. How can I delete it from the command line?

我用beanstalkd排队.

推荐答案

重新启动豆茎.在Ubuntu上:

sudo service beanstalkd restart

Laravel相关问答推荐

Uncaught ReferenceError:未定义require[Shopify PHP React Browser问题]

如何正确使用 Spatie\Laravel Data 来获取数据?

模型文件名更改数据库中的表名

验证判断请求的值是否存在于另一个表 Laravel 9 中

Laravel:BelongstoMany 关系实现

如何在 laravel 5.8 中显示自定义消息?

如何使用 Laravel 查询生成器在 WHERE 条件周围添加括号

语法错误或访问冲突:1115 未知字符集:utf8mb4

如何在 Laravel 中使用内存数据库的完整测试套件之前迁移和 seeder ?

Laravel 5.1 - 如何在进度条上设置消息

Laravel 5.4 存储:下载文件.文件不存在,但显然存在

Laravel 将 JSON 转换为数组?

Laravel:如何在没有数据库的情况下对用户进行身份验证

Laravel Blade 没有额外的空格?

使用数据库用户提供程序时如何在 Laravel 中创建密码重置方法

验证匹配字符串

Laravel db 迁移 - renameColumn 错误 - 请求了未知的数据库类型枚举

是否可以将路由参数传递给 Laravel 中的控制器构造函数?

Laravel Eloquent 查询生成器默认 Where 条件

如何在 laravel eloquent 中保存布尔值