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 ...
0 votes
1 answer
119 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 ...
-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 ...
0 votes
0 answers
197 views

I am merging pdfs . These files could be more than 100 . Now problem is my server only has 1 GB RAM. Server hangs when these merging starts actually this process is working in Job. It works fine on ...
1 vote
1 answer
88 views

I am woring with laravel queue for sending mail to multiple users but when i run command laravel queue:work But it getting fail after running but email i recive in mail box so, how can fix this if ...
1 vote
2 answers
8k views

I am trying to learn about Jobs and queues in Laravel , when i try to learn something new i always take a basic example by myself and try to understand the workflow better. Okay here is the problem I ...
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 ...
1 vote
1 answer
841 views

I am currently in the process of building a online auction website with similar features like in Mytokuri.in / Bidderboy.com . My website is complete around 90% complete. I face an obstacle of ...
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 ...
0 votes
1 answer
240 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 ...
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 ...
0 votes
1 answer
2k views

I've got a dockerized Laravel app which is working just fine. Recently, a job was added to the app, to manage this job we'll use supervisor. When running the app docker-compose --build the app is ...
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=...
7 votes
4 answers
36k views

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 job, ...
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 ...
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 ...
0 votes
2 answers
852 views

I am very new to the laravel-queue concept ,our project has multiple databases based on each customer.i am implementing workflows by using queue-jobs ,all databases list we are maintaining in another ...
5 votes
1 answer
10k views

I found 2 ways of testing whether a job is dispatched or not while doing phpUnit based unit testing in Laravel - 1. $this->expectsJobs(JobClassName::class); 2. Bus::fake(); Bus::assertDispatched(...
0 votes
1 answer
248 views

this is the first time I am using laravel queue jobs, and somehow i could not get it working. This is my mail class: class TopluKabulMektubu extends Mailable { use Queueable, SerializesModels; ...
1 vote
2 answers
3k views

I currently registered php artisan schedule:run in cronjob in cpanel and the schedule method is: protected function schedule(Schedule $schedule) { $schedule->command('queue:work --stop-when-...
1 vote
2 answers
196 views

Hii I created a job to send mail. I execute a query in the controller using withCount() and am able to get the count parameter inside the controller but while I am parsing the same data to the job and ...
10 votes
3 answers
13k views

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 how $...
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 ...
0 votes
1 answer
4k views

I have created multiple schedule tasks in laravel 5, and created cron job on cpanel it is working fine. But now i want to stop specific schedule task, i have comment the command and remove class from ...
1 vote
2 answers
2k views

I parse some HTML pages and API endpoints, for example, every 5 minutes to track changes. For this purpose, I have created ParseJob where I do parsing and save changes to a database. ParseJob ...