Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
12k views

I have a series of batches, that need to be run in a chain (in correct order) and I am trying to find a way to link them all back together and ultimately give the user notification that everything is ...
1 vote
2 answers
3k views

I got a problem with dispatching jobs on Laravel 9.4.1 with PHP 8.1.3. I have written some jobs which have their own queue (import-meta) but run via the database-connection. When I build my app-...
6 votes
1 answer
2k views

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 ...
0 votes
0 answers
40 views

I have setup two queues (calculator-webhook-queue & offers-queue) on Amazon SQS with the following code:- In .env file QUEUE_CONNECTION=sqs AWS_DEFAULT_REGION=us-east-1 AWS_ACCESS_KEY_ID=******* ...
0 votes
1 answer
48 views

I'am working currently on a Laravel project which uses a big pipeline inside a single job. Inside that pipeline different third-party API calls are made and the results get written in a simple MariaDB....
0 votes
3 answers
139 views

I'am using Laravel 11.x as Framework and currently trying to figure out "the best" way to handle a big process from the amazon sp-api. I want to handle the API Requests within Jobs and want ...
1 vote
0 answers
68 views

the queue can read the jobs table and find the right database. However, when the job fails, it defaults to the connection database.sqlite, which is wrong. I am getting this error -- database file at ...
6 votes
3 answers
7k views

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' =&...
0 votes
1 answer
954 views

I'm currently implementing a wallet top-up system for an application. I'm using a job called AdjustWalletBalance to handle this. What the job simply does is to read the client's current wallet balance ...
1 vote
1 answer
174 views

I want to send a Laravel queue job from a Python app. How this can be achievable?
1 vote
1 answer
157 views

I am creating a temporary file in a Laravel Job which I want to delete later in the same job. However, the file does not seem to delete until the entire queue worker has been stopped. The file is ...
0 votes
1 answer
5k views

I'm running a command that should run a Laravel Excel import but it gets exhausted after a while. I'm using chunks and it worked before but now I'm struggling to make it work. It's a group of files ...
1 vote
1 answer
3k views

I want to create Jobs and Workers and process each Jobs created by REST request and also I want multi-level workers for single job. Scenario: My Clients will post a request via REST API and the each ...
6 votes
2 answers
5k views

I have a Laravel job chain like this Job1::withChain([ new Job2(), new Job3(), new Job4() ])->dispatch(); Sometimes I want it to run the job synchronously. But when I change ->dispatch() ...
2 votes
2 answers
10k views

I have three Laravel Parent jobs name AutoPOChargeCalculation::dispatch($invoice_id, $user_id, $notify)->onQueue('invoice'); AutoSOChargeCalculation::dispatch($invoice_id, $user_id, ...
0 votes
1 answer
281 views

I have Laravel 10 as my API backend with Fortify. When resetting the password, I want to send HTML content (retrieved from the database) to an email. The email should be queued, possibly via the jobs ...
3 votes
2 answers
5k views

I'm using laravel 6 I've been struggling all the day to figure out why jobs table never get populated when I dispatch a job When I hit this artisan command php artisan queue:work I get the ...
1 vote
0 answers
283 views

I have a chain of two batches. One to prepare stuff and one to execute it. I had a lot of issues with it in the database, but I moved it to redis and it's perfect now. However, the jobs are quite fast ...
42 votes
3 answers
96k views

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 it ...
0 votes
2 answers
3k views

Currently, I am working with Laravel 5.7 Project Now I am sending Laravel Notification (Email, SMS, and OneSignal Push) User Email is optional(login with mobile). Now, I want to send Email if only ...
3 votes
0 answers
166 views

Recently after moving our queue driver to 'redis' we are facing more issue with some jobs/event listeners in the 'default' queue getting failed. At this time of failing, its also not getting inserted ...
0 votes
1 answer
501 views

I have a job that has public $tries = 2; but when it fails, it does not retry. In Horizon, I have to retry the job manually. Here is the job: class SendEmailMessage implements ShouldQueue { use ...
1 vote
1 answer
1k views

There's a lot of questions like this, feel like I've read them all and I'm no wiser. Like everyone else I'm trying to have supervisor manage my Laravel queue for queued notifications. If I'm outside ...
1 vote
1 answer
1k views

I am using laravel 8 for my application and every is working fine except sometimes my queue jobs are running twice which is causing database ledger balance to update twice . I found out this issue ...
1 vote
1 answer
276 views

I have a large number of users hence I have to do that particular user has their queue not just one queue for all users. php artisan queue:work this command runs only default named queue. but in my ...

1
2 3 4 5
10