Laravel Scheduler 5.1 doesn't run in Windows properly #13004
Closed
Description
I have a simple command that write a log entry (\Log::debug('Pulse')
) which is scheduled to be run every minute:
$schedule->command('heartbeat:pulse')
->everyMinute()
->withoutOverlapping();
I can run the command without issue if I type in a terminal the following:
php artisan heartbeat:pulse
But if I try to run:
php artisan scheduler:run
… the command doesn't run. Instead, it outputs something weird. Let me be short on this: 1) it shows the commands that will be run 2) it create some empty files that looks like the commands that should ran.
"heartbeat\357\200\272pulse;"
rm
storage/framework/schedule-7e80c8ef182df7c94116099504c7180e
storage/framework/schedule-7e80c8ef182df7c94116099504c7180e;
At this point, I'm still trying to understand what's happening under the hood. If there's any insights or knowledge on this I will be glad to hear/read about it. I'm willing to provide any other information that could be useful.
Metadata
Assignees
Labels
No labels