25 lines
511 B
PHP
25 lines
511 B
PHP
<?php
|
|
|
|
namespace App\Console;
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
class Kernel extends ConsoleKernel
|
|
{
|
|
protected $commands = [
|
|
];
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
{
|
|
$schedule->command(\Spatie\Health\Commands\RunHealthChecksCommand::class)->everyMinute();
|
|
}
|
|
|
|
protected function commands()
|
|
{
|
|
$this->load(__DIR__.'/Commands');
|
|
|
|
include base_path('routes/console.php');
|
|
}
|
|
}
|