Files
scrum-poker-internal/routes/console.php
T
2026-08-20 23:00:47 +02:00

20 lines
505 B
PHP

<?php
use App\Jobs\CloseInactiveRooms;
use App\Jobs\MarkInactivePlayers;
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::job(new CloseInactiveRooms)
->weeklyOn(1, '02:00')
->withoutOverlapping();
Schedule::job(new MarkInactivePlayers)
->everyFiveMinutes()
->withoutOverlapping();