laravel problem running background job in php
I have the following job: public function handle(): void { // sleep(5); echo "hello!"; } Following controller: public function index() { ProcessPodcast::dispatch(); // return redirect('/api'); echo "finished!"; } and route: Route::get("/job", [JobTest::class, 'index']); My problem is basically that the job…