urlsnail/routes/console.php

14 lines
323 B
PHP
Raw Normal View History

2024-05-24 20:07:22 +00:00
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
2024-05-26 13:22:40 +00:00
use Illuminate\Support\Facades\Schedule;
2024-05-24 20:07:22 +00:00
2024-05-26 13:22:40 +00:00
Artisan::command(
'inspire', function () {
$this->comment(Inspiring::quote());
}
)->purpose('Display an inspiring quote')->hourly();
Schedule::command('telescope:prune')->daily();