How can I learn more about why my Laravel Queued Job failed?

前端 未结 4 2089

The Situation

I\'m using Laravel Queues to process large numbers of media files, an individual job is expected to take minutes (lets just say up to an h

4条回答
  •  被撕碎了的回忆
    2021-02-06 00:59

    • Run these command to create a table failed_jobs in db
    php artisan queue:failed-table
    php artisan migrate
    
    • Run queue worker php artisan queue:work --tries=2

    • Check the exception reason in your database table failed_jobs you've just created.

提交回复
热议问题