read table of contents
Introduction
The Laravel Command Line Scheduler allows you to define a clear and fluid command scheduler in Laravel.
When using this task scheduler, you only need to create a single Cron ingress interface on your server. Your task app/Console/Kernel.php
schedule schedule
is defined in the method of .
app\Console\Kernel.php
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [];
/**
* Define the application's command schedule.
*
* @param $schedule
* @return vo