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

[8.x] Fix schedule:work command Artisan binary name #42083

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

kekalainen
Copy link
Contributor

Currently the schedule:work command assumes the Artisan binary is called artisan and fails to execute the schedule:run command if that's not the case.

root@a529d380561a:/var/www/html# php cli schedule:work
Schedule worker started successfully.

[2022-04-21T16:35:00+00:00] Execution #1 output:
Could not open input file: artisan

This PR addresses the issue by utilizing the ARTISAN_BINARY constant.

@taylorotwell taylorotwell merged commit 893409f into laravel:8.x Apr 21, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants