Answer the question
In order to leave comments, you need to log in
How to get task ID when queuing Laravel?
put the task in the queue
$job = (new \App\Jobs\DataProcessing($filename))->onQueue('q1');
app(Dispatcher::class)->dispatch($job);
Answer the question
In order to leave comments, you need to log in
Ok, you know how to use the search :)
And now please print out what app(Dispatcher::class)->dispatch($job);
Wardump returns to you please!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question