A command to output your current laravel schedule in a human readable format.
composer require lxlang/laravel-schedule-info
Run ./artisan schedule:info
+------------+-------------------------+----------------------+-------------------+
| expression | command | when | next_due |
+------------+-------------------------+----------------------+-------------------+
| 0 0 * * * | inspire | Every day at 12:00am | 9 hours from now |
+------------+-------------------------+----------------------+-------------------+
You can use ScheduleInfoReport
to generate a result set, with which a custom view can be generated to include this
into views or other reports.
$report = app(ScheduleInfoReport::class);
/** @var Collection|ScheduleInfo[] $result */
$result = $report->generate();