3 - Schedule fedi-discover:poll every minute
This commit is contained in:
parent
1b713e3539
commit
2cb86f3337
1 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Foundation\Inspiring;
|
use Illuminate\Support\Facades\Schedule;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
|
||||||
|
|
||||||
Artisan::command('inspire', function () {
|
Schedule::command('fedi-discover:poll')
|
||||||
$this->comment(Inspiring::quote());
|
->everyMinute()
|
||||||
})->purpose('Display an inspiring quote');
|
->withoutOverlapping(5)
|
||||||
|
->runInBackground();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue