lundi 12 octobre 2020

How to execute laravel job at low priority?

We have multiple jobs in our laravel application. Currently all jobs are queued at once and they execute one by one. I want this particular job to execute at low priority it means if anyother job comes after that job should be execute first.

BulkPdfPrintLabel::withChain([
                    new MergeLabel($filepath, $manifest_id, $last, $user_id, $user_type)
                ])->dispatch($consignments, $last, $manifest_id, $user_id, $user_type, $filepath);


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire