title: How can I test my cron job in localhost windows? (laravel 5.3)
body: <p>I create a cron job on laravel 5.3 by editing app\Console\Kernel.php like this :</p>
  
  <pre><code>&lt;?php
  
  namespace App\Console;
  
  use Illuminate\Console\Scheduling\Schedule;
  use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
  use DB;
  
  class Kernel extends ConsoleKernel
  {
      protected $commands = [
          //
      ];
  
      protected function schedule(Schedule $schedule)
      {
          $schedule-&gt;call(function () {
              $id = 1;
              DB::table('orders')
                -&gt;where('id', $id)
                -&gt;update(['status ' =&gt; 2, 'canceled_at' =&gt; date("Y-m-d H:i:s")]);
          })-&gt;everyMinute();
      }
  
      protected function commands()
      {
          require base_path('routes/console.php');
      }
  }
  </code></pre>
  
  <p>I tried to check on the table in the database, but it does not update</p>
  
  <p>How can I test my cron job?</p>