LAR_Maintenance/routes/console.php

12 lines
385 B
PHP
Raw Normal View History

2024-07-30 08:44:45 +00:00
<?php
2024-08-06 14:20:45 +00:00
use App\Jobs\ScheduleNextMaintenance;
2024-07-30 08:44:45 +00:00
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
2024-08-06 14:20:45 +00:00
use Illuminate\Support\Facades\Schedule;
2024-07-30 08:44:45 +00:00
2024-08-06 14:20:45 +00:00
// Artisan::command('inspire', function () {
// $this->comment(Inspiring::quote());
// })->purpose('Display an inspiring quote')->hourly();
Schedule::job(new ScheduleNextMaintenance())->daily()->withoutOverlapping();