|
|
@ -2,10 +2,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
|
|
|
|
use \Illuminate\Support\Facades\Schedule;
|
|
|
|
Artisan::command('inspire', function () {
|
|
|
|
Artisan::command('inspire', function () {
|
|
|
|
$this->comment(Inspiring::quote());
|
|
|
|
$this->comment(Inspiring::quote());
|
|
|
|
})->purpose('Display an inspiring quote')->hourly();
|
|
|
|
})->purpose('Display an inspiring quote')->hourly();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Artisan::command('gold', function () {})->everyFiveMinutes();
|
|
|
|
Schedule::command('gold')->everyFiveMinutes();
|
|
|
|