Background jobs
Heavy work in the background
Some tasks must not keep the user waiting: processing a large import, sending hundreds of emails, computing an extensive report, converting a video. Such tasks run as background jobs, so the interface stays fast at all times.
How it works
The app puts the task in a queue and processes it in the background: the user clicks βStartβ and keeps working immediately, the system reports back when it's done. Via Laravel Horizon it's visible at all times what's running, what's waiting and what failed β operation becomes traceable instead of a black box.
Scheduled tasks
Recurring work can be scheduled too: nightly analyses, daily reminders for overdue matters, monthly invoice runs. The app handles this at the set time by itself β no one has to think of it.
Why this matters
Background jobs are the difference between an app that freezes with large amounts of data and one that calmly keeps running. They're the basis for the system growing with your business.