title: Laravel 5.1 Task Scheduling on Windows
body: <p>I'm trying to get Laravel 5.1 Task Scheduling working on IIS. When I run a batch file using Windows task manager it will run the task one time only. How can I get ->everyMinute() to work?</p>
  
  <p>Windows batch file:</p>
  
  <pre><code>cd c:\inetpub\myapp
  c:\PROGRA~2\PHP\php.exe artisan schedule:run 1&gt;&gt; NUL 2&gt;&amp;1
  </code></pre>
  
  <p>The kernel:</p>
  
  <pre><code>class Kernel extends ConsoleKernel
  {
      protected $commands = [
  
          \App\Console\Commands\MyCommand::class,
  
      ];
  
      protected function schedule(Schedule $schedule)
      {
          $schedule-&gt;command('test')-&gt;everyMinute();
      }
  }
  </code></pre>
  
  <p>The command:</p>
  
  <pre><code>public function handle()
      {
          log::info('test');
      }
  </code></pre>