change queue time and set CloseSessionsJob
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use App\Jobs\CloseSessionsJob;
|
||||||
use App\Jobs\LogAppVersionJob;
|
use App\Jobs\LogAppVersionJob;
|
||||||
use Illuminate\Foundation\Inspiring;
|
use Illuminate\Foundation\Inspiring;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
use Illuminate\Support\Facades\Artisan;
|
||||||
@@ -9,4 +10,6 @@
|
|||||||
$this->comment(Inspiring::quote());
|
$this->comment(Inspiring::quote());
|
||||||
})->purpose('Display an inspiring quote');
|
})->purpose('Display an inspiring quote');
|
||||||
|
|
||||||
Schedule::job(new LogAppVersionJob)->everyMinute();
|
Schedule::job(new LogAppVersionJob)->hourly();
|
||||||
|
|
||||||
|
Schedule::job(new CloseSessionsJob)->hourly();
|
||||||
|
|||||||
Reference in New Issue
Block a user