Files
ad_testbed/routes/console.php
T
Mark Gregory c15221c98f
tests / ci (push) Canceled after 0s
updates for active directory
2026-11-11 16:19:50 +00:00

14 lines
363 B
PHP
Executable File

<?php
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');
if (config('ad-sync.scheduled')) {
Schedule::command('ad:sync')->dailyAt('02:00')->withoutOverlapping();
}