浏览代码

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