@lukegalea16 which drived do you use for queue? Are you sure your queue worker is up and running?
Jun 1, 2022
4
Level 2
Laravel Excel Queued Job Not Working/Not Starting Export
Hi,
This is my current code
return Excel::download(new BasicReportExport($data, count($headings), count($devices)), 'WW-' . $orgName . '-Device_Health-' . $startDate . '.xlsx');
Which I changed to
(new BasicReportExport($data, count($headings), count($devices)))->queue('WW-' . $orgName . '-Device_Health-' . $startDate . '.xlsx');
return back()->withSuccess('Export started!');
In my BasicReportExport I added use Exportable and included the package. Now when I press the button to queue the job instead of downloading I get nothing. Any idea how I can debug if the job is getting queued? Laravel Logs return no errors.
Please or to participate in this conversation.