Files
FlightsAPI/routes/console.php
T
2026-05-10 02:28:30 +10:00

11 lines
290 B
PHP

<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('app:update-departed-flights')->hourly()->runInBackground();