Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
134 views

What happens to the model's eager-loaded relationship when the model is passed to another Job's dispatch method? Context: There is a job that retrieves all ongoing games and this job should create an ...
ssrsvn's user avatar
  • 33
1 vote
1 answer
145 views

In my Laravel project, I have 5–6 different queues. Each queue triggers the next one in a strict order, forming a processing chain like: Job1 → Job2 → Job3 → Job4 → Job5 The flow is always triggered ...
nrkdrk's user avatar
  • 100
0 votes
0 answers
41 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=******* ...
Dawood Faiz's user avatar
0 votes
1 answer
54 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....
MaxWeb's user avatar
  • 169
0 votes
3 answers
149 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 ...
MaxWeb's user avatar
  • 169
1 vote
0 answers
70 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 ...
JustMe's user avatar
  • 37
0 votes
0 answers
110 views

I'm using Laravel 5.5 with the database queue driver to manage jobs, and I have 5 workers running. However, I've noticed that the rate at which jobs are processed remains constant at 100 jobs per ...
Yeo Bryan's user avatar
  • 439
1 vote
1 answer
176 views

I want to send a Laravel queue job from a Python app. How this can be achievable?
Tibin's user avatar
  • 644
1 vote
1 answer
863 views

I am unable to add jobs to Bus Batch in Laravel in a foreach loop, and get the error Call to undefined method App\Jobs\ProcessSitemapChunk::withBatchId(). $sitemapUrl = 'someurl'; $...
Hitesh Chauhan's user avatar
0 votes
1 answer
102 views

I am looking for a way that would allow me to only allow one job to run for each user at a time. That could be through Job tags or something else. All I want is to specify the tag User:1 and based on ...
mauxtin's user avatar
  • 408
0 votes
1 answer
2k views

To anyone using Laravel Jobs and Horizon. Sometimes, after the job succeed, the queue tries it again with no reason: App\Jobs\Job has been attempted too many times. {"exception":"[...
Marc Garcia's user avatar
  • 1,456
1 vote
1 answer
226 views

When I run sail php artisan scout:import "App\Models\Persona" with queue=false, everything works fine, and I've confirmed searches return results. But when I turn on the queue and run the ...
WoodyNaDobhar's user avatar
0 votes
1 answer
282 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 ...
Symfony TestMail's user avatar
0 votes
1 answer
241 views

I'm working with a job with a timeout set to 21600 seconds. However, when the execution time exceeds this limit, I encounter an error message stating: App\Jobs\JobName has been attempted too many ...
Pravin Bhalekar's user avatar
1 vote
1 answer
1k views

I have dispatched a job and the the job is added to the database on the specified table, e.g. "Jobs. The jobs are not being processed, even though the jobs are added to the database. No log ...
Fhuu's user avatar
  • 21
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 ...
OurBG's user avatar
  • 607
0 votes
1 answer
165 views

We are using Laravel Jobs + Horizon, and have built a framework to retry jobs with exponential backoff using the hook for failed() as well as Job middleware to deal with log consolidation, but we've ...
kevinc's user avatar
  • 645
1 vote
1 answer
158 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 ...
Simon de Jong's user avatar
0 votes
1 answer
677 views

In my laravel application i do a form submit to execute a time consuming task by calling shell_exec(my_time_conusming_Script.sh) . The process executes successfully on the background. But the ...
Tanzeem's user avatar
  • 119
3 votes
0 answers
172 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 ...
MOHAMMED ABDUL HASEEB's user avatar
0 votes
1 answer
507 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 ...
Martin Drapeau's user avatar
1 vote
1 answer
237 views

According to laravel 10 documentation, we can use other sub-minute time constraints (everySecond, everyTwoSeconds, etc) for intervals lesser than one minute; but none of the sub-minute seems to be ...
DAVID AJAYI's user avatar
  • 2,204
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 ...
polycode's user avatar
  • 265
1 vote
0 answers
164 views

I am using these two packages: "maatwebsite/excel": "^3.1", "spatie/laravel-medialibrary": "^10.0.0", I'm importing an Excel sheet with queuing and when a cell ...
laze's user avatar
  • 345
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 ...
Ashu's user avatar
  • 11
-1 votes
1 answer
358 views

I was trying to add Queue to one of my existing Laravel projects. I have tried different tutorials related to queuing in Laravel such as this. I have created a fresh Laravel project and tried this and ...
Muhammed Shajeer's user avatar
0 votes
1 answer
857 views

It's a very simple question, I had this test: public function test_expired_cases_empty_dont_dispatch_update_expired_class() { $this->expired1->created_at = Carbon::now(); $this->...
Daniel Ballesteros's user avatar
0 votes
1 answer
958 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 ...
Praise Dare's user avatar
1 vote
1 answer
280 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 ...
Prakash thirstydevs's user avatar
0 votes
1 answer
262 views

I have configured Laravel queue with horizon and everything is working perfectly, but when I start exporting the file, the horizon shows completed job while it gives me empty Excel file with 6kb in ...
CairoCoder's user avatar
  • 3,227
0 votes
0 answers
52 views

Thank you all in advance , i have peoject for ecommerce app please check simplified DB schema for better unsrstand products - id - name - some other columns ... product_items - id - product_id - some ...
Amr mahmod's user avatar
1 vote
0 answers
29 views

I'm trying to create a Job for my sitemap generator in Laravel. It should create a job for adding each 100 rows form my Cars model but I'm stuck at one error. As soon as I use sitemap:make command and ...
 YahorLukyanchyk's user avatar
0 votes
2 answers
955 views

horizon is setup in local is working properly, local horizon dashboard show me the supervisor info and current workload But in production horizon dashboard the status is active and not show supervisor ...
Parth's user avatar
  • 5
0 votes
0 answers
617 views

I have set up a laravel project and want to send emails via the email queue. I have set up supervisor on the server and started the processes. However, the whenever I fire a laravel job and try to ...
jptl431's user avatar
  • 304
-1 votes
1 answer
159 views

I am currently running my Laravel application on AWS Beanstalk with a load balancer configured. The setup allows for a minimum of 1 and a maximum of 2 instances to be running. So far, everything ...
oralunal's user avatar
  • 416
0 votes
1 answer
4k views

I'm using laravel queue to perform background tasks. After starting the queue (either with "php artisan queue:work" or with supervisor), htop indicates a memory usage of ~2GB for the process ...
Bruno's user avatar
  • 73
2 votes
2 answers
1k views

I have application created using Laravel 9. i have installed 'maatwebsite/excel' library to export and import excel file. it is working good on local and server. but now i have implemented laravel ...
Kirti Umrigar's user avatar
0 votes
2 answers
2k views

Just for context I do have 2 different Laravel projects. project A - this is where I dispatch certain jobs project B - this is where jobs being handled I am using Laravel Homestead on my local setup,...
kamer's user avatar
  • 11
0 votes
0 answers
133 views

I have implemented Queues in a Laravel project. Since I can't install Supervisor on my server, I launch the queue:work command for each queue in Plesk panel. It works fine until I exceed 5 queues. The ...
tsil's user avatar
  • 2,069
1 vote
0 answers
1k views

I'm using Laravel 10 and PHP 8.1. I have a website monitoring platform which customers can add their websites and they're checked at an interval to see if the sites are up or down. My cron runs every ...
Ryan H's user avatar
  • 3,063
1 vote
1 answer
1k views

I have a laravel queue job that process around 10 to 12 seconds before succeeding. It does not fail though and not throw any error logs. Only problem is, it just stops processing the next jobs. I have ...
tempra's user avatar
  • 2,391
0 votes
0 answers
3k views

Tried in many different ways but can't get this working, and i'm quite sure it was working until last framework updates (but got no clues diffing source code). Basically: when a job on a site (A: ...
urka_mazurka's user avatar
1 vote
1 answer
1k views

I have a background job that updates data via models. The issue is that when one of the job fails due to errors/exceptions (even when try/catch is used as long as an exception occurred), the rest of ...
Rick's user avatar
  • 2,321
0 votes
1 answer
192 views

I have supervisor installed to run the code using Laravel queue in background I am using this things to send an email usually and using SMTP to send an email But whenever there is any issue with SMTP ...
Ronak Solanki's user avatar
2 votes
0 answers
204 views

I am using a custom rate limiter as per https://laravel.com/docs/10.x/queues#rate-limiting. // App Service Provider RateLimiter::for('google-sheets', function (object $job) { return Limit::...
Adam Lambert's user avatar
  • 1,431
1 vote
1 answer
1k views

I have my sample code below, the bus is just working fine but I was wondering if it's possible to check if a bus chain has aborted or failed. I tried assigning a variable but the assignment inside the ...
tempra's user avatar
  • 2,391
1 vote
1 answer
1k views

My laravel notification has to send messages to 2 channels. But when one channel failed, both channel was been resending message by queue. Is there anyway to solve this without creating a deferent ...
David Ko's user avatar
  • 177
0 votes
3 answers
3k views

I created a Laravel Job with 3 tries and timeout after 10 minutes. I am using Horizon. I can handle the failure after 3 tries using the method failed, but how can I handle the timeout event each 3 ...
Ifnot's user avatar
  • 5,133
1 vote
1 answer
732 views

I'm running the following script inside a Laravel job (OperatorSubmissionJob) to upload multiple files to the SFTP server. Everything working well. But I have to disconnect the SFTP connection to end ...
Tarikul Islam's user avatar
0 votes
1 answer
1k views

I've tried queue:clear, even tried removing all jobs but when I add them again the former queue starts working again as evidenced by the timely log entries, I'd just like to start fresh but couldn't ...
Raphael Estrada's user avatar

1
2 3 4 5
10