visuddhinanda 2 tahun lalu
induk
melakukan
7a751b6499
1 mengubah file dengan 43 tambahan dan 0 penghapusan
  1. 43 0
      app/Console/Commands/TestSchedule.php

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

@@ -0,0 +1,43 @@
+<?php
+
+namespace App\Console\Commands;
+
+use Illuminate\Console\Command;
+
+class TestSchedule extends Command
+{
+    /**
+     * The name and signature of the console command.
+     *
+     * @var string
+     */
+    protected $signature = 'test:schedule';
+
+    /**
+     * The console command description.
+     *
+     * @var string
+     */
+    protected $description = 'Command description';
+
+    /**
+     * Create a new command instance.
+     *
+     * @return void
+     */
+    public function __construct()
+    {
+        parent::__construct();
+    }
+
+    /**
+     * Execute the console command.
+     *
+     * @return int
+     */
+    public function handle()
+    {
+        Log::info('schedule test start');
+        return 0;
+    }
+}