Laravel 5.1 Task Scheduling on Windows
问题 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? Windows batch file: cd c:\inetpub\myapp c:\PROGRA~2\PHP\php.exe artisan schedule:run 1>> NUL 2>&1 The kernel: class Kernel extends ConsoleKernel { protected $commands = [ \App\Console\Commands\MyCommand::class, ]; protected function schedule(Schedule $schedule) { $schedule->command('test')->everyMinute(); }