We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6df8f7 commit f00cd8dCopy full SHA for f00cd8d
config/app.php
@@ -15,6 +15,8 @@
15
16
'name' => env('APP_NAME', 'Laravel'),
17
18
+ 'heartbeat_url' => env('HEARTBEAT_URL'),
19
+
20
/*
21
|--------------------------------------------------------------------------
22
| Application Environment
routes/console.php
@@ -2,7 +2,10 @@
2
3
use Illuminate\Foundation\Inspiring;
4
use Illuminate\Support\Facades\Artisan;
5
+use Illuminate\Support\Facades\Schedule;
6
7
Artisan::command('inspire', function () {
8
$this->comment(Inspiring::quote());
9
})->purpose('Display an inspiring quote');
10
11
+Schedule::command('inspire')->everyMinute()->thenPing(config('app.heartbeat_url'));
0 commit comments