Looking to hire Laravel developers? Try LaraJobs

laravel-schedule-info maintained by lxlang

Description
A command to output your current laravel schedule in a human readable format.
Author
Last update
2020/07/09 11:02 (dev-master)
License
Links
Downloads
12
Tags

Comments
comments powered by Disqus

Laravel Schedule Info

Description

A command to output your current laravel schedule in a human readable format.

Installation

composer require lxlang/laravel-schedule-info

Usage

Run ./artisan schedule:info

+------------+-------------------------+----------------------+-------------------+
| expression | command                 | when                 | next_due          |
+------------+-------------------------+----------------------+-------------------+
| 0 0 * * *  | inspire                 | Every day at 12:00am | 9 hours from now  |
+------------+-------------------------+----------------------+-------------------+

Code-Access

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();