19 lines
720 B
PHP
19 lines
720 B
PHP
<?php
|
|
|
|
use App\Jobs\RunHealthChecks;
|
|
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');
|
|
|
|
Schedule::job(RunHealthChecks::class)->everytenSeconds()->withoutOverlapping();
|
|
//Schedule::command('mailwolt:check-updates')->dailyAt('04:10');
|
|
Schedule::command('mailwolt:check-updates')->everytwoMinutes();
|
|
|
|
Schedule::command('mail:update-stats')->everyFiveMinutes()->withoutOverlapping();
|
|
Schedule::command('health:probe-disk', ['target' => '/', '--ttl' => 900])->everyTenMinutes();
|
|
Schedule::command('health:collect')->everyMinute();
|