Questions tagged [job-batching]

6 questions
3
votes
1 answer

How to get a list of Job Batches in Laravel 8

Laravel 8 introduced Job Batching, which allows to execute jobs in batches and perform actions on batch completion. The feature itself seems very useful, and it even has an Illuminate\Bus\Batch instance, which allows to inspect and interact with the…
Yerke
  • 2,187
  • 3
  • 19
  • 33
1
vote
2 answers

Laravel Job Batching table relationship with User model?

I am using Laravel Job Batching feature and I have dashboard where I display the progress of Batch(Processed, Failed, Pending jobs … etc.). Each user has it's own dashboard and I want to display the progress of Batch based on logged in user, but I…
Kalim
  • 487
  • 6
  • 18
1
vote
1 answer

Calculating the execution duration of the Job Batch in Laravel 8

Job Batching introduced by Laravel 8 allows to execute jobs in batches and inspect Job Batch states. Illuminate\Bus\Batch instance contain such information as $createdAt, $cancelledAt, $finishedAt information. I'm interested on inspecting the…
Yerke
  • 2,187
  • 3
  • 19
  • 33
1
vote
1 answer

How to change Laravel's Job Batching table name and connection

Laravel 8 introduced Job Batching, which allows to execute jobs in batches and perform actions on batch completion. However Laravel documentation does not have a section regarding configurations of Job Batching table and database connection. How can…
Yerke
  • 2,187
  • 3
  • 19
  • 33
0
votes
1 answer

How to correct/time shift subtitles in multiple SRT files?

Is there a way to badge edit multiple .srt files. We have a project where recent edits to videos offset the .srt files by 5 seconds. I know how to timeshifts .srt on a single file, but I'm wondering if there is a way to timeshift 1000s of .srt files…
0
votes
1 answer

How to solve failed job batching in laravel

I made a job batching to insert csv into database. Here is the method: public function upload() { if(request()->has('file')){ $data = file(request()->file); // Chunking file $chunks = array_chunk($data,5); …
alen4 navy
  • 41
  • 1
  • 5