class Schedule (View source)
void | __construct(Repository $cache) Create a new event instance. | |
Event | call(string|callable $callback, array $parameters = array()) Add a new callback event to the schedule. | |
Event | command(string $command, array $parameters = array()) Add a new Artisan command event to the schedule. | |
Event | job(object|string $job) Add a new job callback event to the schedule. | |
Event | exec(string $command, array $parameters = array()) Add a new command event to the schedule. | |
array | dueEvents(Application $app) Get all of the events on the schedule that are due. | |
array | events() Get all of the events on the schedule. |
Create a new event instance.
Add a new callback event to the schedule.
Add a new Artisan command event to the schedule.
Add a new job callback event to the schedule.
Add a new command event to the schedule.
Get all of the events on the schedule that are due.
Get all of the events on the schedule.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Console/Scheduling/Schedule.html