LAR_Maintenance/routes/console.php
Jonatan Rek 866eee5b16 Fixes
2024-08-06 16:20:45 +02:00

12 lines
385 B
PHP

<?php
use App\Jobs\ScheduleNextMaintenance;
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')->hourly();
Schedule::job(new ScheduleNextMaintenance())->daily()->withoutOverlapping();