turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/app/Console/Kernel.php
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

28 lines
592 B
PHP

<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*/
protected function schedule(Schedule $schedule): void
{
$schedule->job(new \App\Jobs\RefreshHardcorePage())->hourly();
}
/**
* Register the commands for the application.
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}