Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel Scheduler 5.1 doesn't run in Windows properly #13004

Closed
rmariuzzo opened this issue Apr 4, 2016 · 3 comments
Closed

Laravel Scheduler 5.1 doesn't run in Windows properly #13004

rmariuzzo opened this issue Apr 4, 2016 · 3 comments

Comments

@rmariuzzo
Copy link

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.

@GrahamCampbell
Copy link
Member

Windows is only fully supported by the scheduler starting from v5.2.22.

@GrahamCampbell
Copy link
Member

I'll see if I can get that stuff backported for you though.

@GrahamCampbell
Copy link
Member

See #13036.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants