laravel-queue Questions

3

Solved

I am trying to get my website to send confirmations emails every time someone new register. i did it like following after reading about it, but i am still not convinced that this is the best way t...
Desireah asked 29/9, 2017 at 11:31

3

Solved

I am running into a problem where my database calls are slowing up the page load significantly. I am populating multiple charts from elections data, and my table contains around 1 million rows, and...
Inexpiable asked 25/4, 2016 at 1:56

2

Solved

I know that I can retry jobs that have failed in my Laravel application by using: php artisan queue:retry 5 OR php artisan queue:retry all to push them back onto the queue. What I would like to ac...
Gallbladder asked 18/10, 2018 at 2:57

3

Solved

I need to submit a number of jobs to a Laravel queue to process some uploaded CSV files. These jobs could be finished in one second if the files are small, or a few seconds if they're bigger, or po...
Gorges asked 7/8, 2016 at 12:9

2

Can anyone help with the correct configuration within horizon.php to get a single supervisor to run multiple queues? I have tried: 'supervisor-1' => [ 'connection' => 'redis', 'queue' =&gt...
Pilose asked 19/12, 2018 at 0:55

2

I have a production system on AWS and use Laravel Forge. There is a single default queue that is processing Jobs. I've created a number jobs and now wish to delete them (as they take many hours to ...
Touchmenot asked 16/2, 2021 at 16:26

3

Solved

hi i created a laravel queue job to send mails public function handle() { foreach($this->emails as $value) { $to = $value->email; $subject = $this->data['subject']; $this->data['...
Spermato asked 30/12, 2015 at 5:37

3

I try to catch an event, when job is completed Test code: class MyTest extends TestCase { public function testJobsEvents () { Queue::after(function (JobProcessed $event) { // if ( $job is 'M...
Bronny asked 19/10, 2017 at 19:12

6

I am working on an app that requires fetching data from a third-party server and that server allows max 1 request per seconds. Now, all request send as job and I am trying to implement Laravel "Ra...
Leverrier asked 20/11, 2017 at 19:28

3

I have a laravel 5.4 app deployed via envoyer to a non-forge server. I am running queue workers on the database driver, using supervisor to monitor, setup as described in the docs; command=php /ho...
Adrian asked 15/2, 2017 at 11:36

9

I want my laravel queue:work to keep running on a shared hosting, this is a shared hosting (am not on a VPS) I can't install anything because almost all online sources when I was searching for this...
Pallbearer asked 10/9, 2017 at 14:12

3

I have a Job to perform send SMS to user. I want to run this job on the specify queue-name. For example, this job added to "SMS" queue. So I found a way to do this but it's exists some er...
Bloxberg asked 6/9, 2016 at 19:19

4

Solved

Thank you in advance My question is simple For example, I have created one job which is sending an email to the user. however it is failed due to some syntax error or any other exception, so larave...
Skirmish asked 18/9, 2020 at 8:12

3

i'm experiencing one problem here. Sample will speak for it self. Queue::after(function (JobProcessed $event) { $job_details = json_decode($event->job->getRawBody(), true); )}); This is h...
Revisory asked 3/8, 2017 at 21:16

3

My website queues email sending jobs to the jobs table. I think the email server has some problem and it can't send emails so the jobs are stuck at the jobs table. Now maybe there are too many jobs...
Tonsillitis asked 9/11, 2017 at 21:50

4

Trait method dispatch has not been applied, because there are collisions with other trait methods on I'm always getting the above error, now I want to use both Dispatchable and DispatchJobs in a...
Phoebephoebus asked 17/2, 2018 at 6:21

0

I found this similar question How to check If the current app process is running within a queue environment in Laravel But actually this is the opposite of what I want. I want to be able to disting...
Falconry asked 21/1, 2021 at 16:3

1

Solved

I'm working on Laravel (v5.7) app that converts uploaded CSV (with contacts) into array that is then passed as argument when job class is being dispatched. Here is the example of CSV file (format t...
Strath asked 11/11, 2019 at 17:53

3

Solved

I want to use Laravel queue system in my project and I want to run php artisan queue:work permanently on server's background, I did some searches about this and I found a command line which can run...
Bibbie asked 20/7, 2017 at 20:35

2

Solved

I'm attempting to implement Laravel 5.7's queue job rate limiting which for use when queue jobs hit an external API that's rate limited. Here's my job: public function handle() { echo 'about t...
Coverley asked 1/3, 2019 at 1:2

4

Solved

Below is what's happening when i run php artisan queue:listen and at my job table only have one job and this is my code : public function handle(Xero $xero) { $this->getAndCreateXeroSnaps...
Thenna asked 22/2, 2018 at 9:32

1

Solved

I am using a laravel queue job to send emails with an excel attachment. And many a time it is happening, that whenever I update any code change, it doesn't consider the updated code, rather it runs...
Nebraska asked 22/10, 2018 at 13:3

2

Solved

I have Sentry.io set-up on my Laravel project. I'm also using Queues. I was wondering if it was possible to send failed queues to Sentry? As they don't automatically send when they fail.
Endogen asked 27/3, 2018 at 9:54

4

Solved

I have jobs to send several emails. In my controller I call the job: dispatch(new SendStartPatEmail($data)); And record is saved in table jobs. But to execute the job I have to run php a...
Vociferation asked 21/6, 2018 at 11:26

1

Solved

I have a laravel event with a few listeners. Some listeners or their notifications (depending if they are time consuming) are implementing the ShouldQueue so they run in the background on a redis q...
Buccaneer asked 30/3, 2018 at 20:4

© 2022 - 2025 — McMap. All rights reserved.