Files
SonarDesk-Licencing-Server/routes/console.php
T
2026-09-30 10:27:14 +01:00

11 lines
386 B
PHP
Executable File

<?php
use Illuminate\Support\Facades\Schedule;
// Removes resolved support requests after the configured retention period.
Schedule::command('model:prune')->dailyAt('03:20')->withoutOverlapping();
Schedule::call(function (): void {
app(\App\Services\Licensing\LicenseDeliveryService::class)->deliverPending(50);
})->name('license-delivery')->everyMinute()->withoutOverlapping();