13 lines
385 B
PHP
13 lines
385 B
PHP
<?php
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
use Illuminate\Support\Facades\Schedule;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
Artisan::command('inspire', function () {
|
|
$this->comment(Inspiring::quote());
|
|
})->purpose('Display an inspiring quote');
|
|
|
|
Schedule::call(function () {
|
|
\App\Jobs\SyncNextcloudBusyJob::dispatchSync(); // inline; no queue worker needed
|
|
})->everyMinute(); |