Files
app-agent/routes/console.php
T
2026-08-24 19:44:24 +03:30

15 lines
359 B
PHP

<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('bazaar:sync')
->everyFiveMinutes()
->withoutOverlapping(5)
->onOneServer();