Преглед изворни кода

add $this->info('schedule test start');

visuddhinanda пре 2 година
родитељ
комит
d889c4e016
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      app/Console/Commands/TestSchedule.php

+ 2 - 0
app/Console/Commands/TestSchedule.php

@@ -3,6 +3,7 @@
 namespace App\Console\Commands;
 
 use Illuminate\Console\Command;
+use Illuminate\Support\Facades\Log;
 
 class TestSchedule extends Command
 {
@@ -38,6 +39,7 @@ class TestSchedule extends Command
     public function handle()
     {
         Log::info('schedule test start');
+        $this->info('schedule test start');
         return 0;
     }
 }