LAR_Maintenance/routes/console.php

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();