horizon: takes snapshot every 5 min
This commit is contained in:
parent
03880ca492
commit
1582ba8ccf
|
|
@ -1,8 +1,5 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
Schedule::command('horizon:snapshot')->everyFiveMinutes();
|
||||
|
|
|
|||
Loading…
Reference in New Issue