-
app/Kernels/Console.php
Open in GitHubuse Illuminate\Foundation\Console\Kernel; use Illuminate\Console\Scheduling\Schedule; class Console extends Kernel { protected function commands() : void { $this->load(app_path('Commands')); } protected function schedule(Schedule $schedule) : void { $schedule->command('model:prune')->hourly(); $schedule->command('auth:clear-resets')->daily(); $schedule->command('system:process-tips')->everyFiveMinutes(); } }