Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
91 views

I hope you’re all doing well. I’m reaching out because I’m facing an issue with my setup. I have a .NET application and a Laravel system integrated via API. The .NET application sends payloads to the ...
minhaj ur rehman's user avatar
-2 votes
1 answer
85 views

I am facing an issue in my Laravel project. I have created multiple databases. When a user logs in through the frontend, they have to select a company code. With this code we decide which database has ...
Mounak's user avatar
  • 1
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 ...
JustMe's user avatar
  • 37
0 votes
2 answers
189 views

I’m working with a Laravel project and I need to run the php artisan queue:work command continuously, even when there are no jobs in the queue. I have already set up a Windows Task Scheduler task to ...
Stevani Putri's user avatar
0 votes
0 answers
178 views

I'm writing unit tests for a job's login functionality in Laravel. However, when I attempted to dispatch the job using Job::dispatchSync, it seems that the job wasn't executed. Upon further ...
Niku Nitin's user avatar
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
1 vote
0 answers
70 views

iam new to Redis and Horizon i have two laravel projects hosted in same server, which are using same database and same redis service. Let's say the projects are X and Y. I have configured Laravel ...
Akhil's user avatar
  • 11
0 votes
0 answers
325 views

In Laravel 7 I use supervisor in my production server(Ubuntu) to get some jobs running automatically. in local env everything work well. but in my production server every job queuing twice. This my ...
Zia's user avatar
  • 725
0 votes
1 answer
122 views

I'm trying to send bulk sms with batch jobs, I want to send more than 1000 sms through the result of a user filter. I do a one time job to do a foreach to save a series of jobs and then submit another ...
Gabriel Fucci's user avatar
0 votes
1 answer
1k views

Laravel version 8.83.17. I've been using laravel for years and this seems to be a weird problem only occured in one of my mac machine. Queue driver is using local Redis. have set QUEUE_CONNECTION=...
vitech's user avatar
  • 45
1 vote
0 answers
568 views

I want to send a notification to all users when I click on send notification button it shows a success message on the spot without taking time and it sends a notification to all users in the ...
Nakvi's user avatar
  • 23
0 votes
0 answers
199 views

I have stored procedure which is doing a task. When i try to execute in the controller it takes more time. So i planned to put as Job. When i try to execute nothing happens in the execution Controller ...
VPR's user avatar
  • 77
0 votes
1 answer
893 views

I have multiple databases in my project based on company we are giving new database for that company.i am developing automation workflows in my current project for that i was planned to implemented ...
Test Test's user avatar
0 votes
1 answer
1k views

I was able to send an email but when I put the attachData() in the UserMail there was an error. I think because of the parameter $this->pdf that should be declared in UserEmailJob, and I don't know ...
Sharmae Reyes's user avatar
0 votes
0 answers
35 views

I'm using Laravel Job to process some data, passing a device object which has json array in it. defined private properties, Note there are way more than just 3 private int $width; private int $depth; ...
Zee's user avatar
  • 361
1 vote
0 answers
1k views

I'm trying to get the ID or UUID of a failed job by calling depending on the failed() method on the Job class but I'm getting an error about the job being null Here's my code: public function failed(...
Willower's user avatar
  • 1,272
1 vote
1 answer
1k views

I have multiple databases and switching database as per some conditions before dispatching jobs. For eg: if(condition A){ DB::setDefaultConnection('A'); } else { DB::setDefaultConnection('B'); } ...
amit's user avatar
  • 373
0 votes
1 answer
500 views

My server is running on PHP 7.2 - Laravel 5.8 - Redis Jobs - NewRelic for monitoring configuration. The guzzle call is written inside helper function (that is autoloader from composer.json). The ...
Shahrukh Khan's user avatar
1 vote
0 answers
223 views

Im dispatching jobs that makes use of a table containing unprocessed data fetched from a file from an ftp server; which this job should process and insert or update on a separate table. In my job file ...
Rick's user avatar
  • 2,321
3 votes
1 answer
2k views

I recognised a strange behavior after upgrading laravel from 8 to 9. I have a scheduler that executes some jobs. Kernel.php: $schedule->job(new ImportAzApplications, 'imports') ->...
lordisp's user avatar
  • 732
1 vote
0 answers
3k views

dispatch((new placeJob($data))->onQueue('important')); this line calls the job constructor, but log statement and any other statement in handle function is not working. i'm trying to dispatch the ...
arunaji601's user avatar
1 vote
1 answer
992 views

When running custom artisan command which dispatches job, if any exception occur in job it should call handler.php but it doesn't get called. I need to send an email for each type of exception caught ...
akshay mahindre's user avatar
0 votes
0 answers
1k views

I'm trying to test that a job is batching the correct number of another job like so Bus::fake(); ... (new App\Jobs\ProcessChunkOfProducts($this->productsAsChunk()))->handle(); Bus::assertBatched(...
damask's user avatar
  • 565
0 votes
1 answer
600 views

I am trying to send a notification via email. Everything is fine as long as I don't want to do it on the job. When I add implements ShouldQueue to the notification class, the task fails with the error ...
user17279031's user avatar
1 vote
1 answer
1k views

My queue jobs all run fairly seamlessy in our production server, but about every 2 - 3 months I start getting a lot of timeout exceeded/too many attempts exceptions. Our app is running with event ...
Adam Lambert's user avatar
  • 1,431