Skip to main content

caneara/tipsea

13 stars
1 code files
View caneara/tipsea on GitHub

app/Kernels/Console.php

Open in GitHub
use 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();
}
}