Skip to content

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

Merged
taylorotwell merged 2 commits into
laravel:8.xfrom
kekalainen:fix-schedule-work-command-binary
Apr 21, 2022
Merged

[8.x] Fix schedule:work command Artisan binary name#42083
taylorotwell merged 2 commits into
laravel:8.xfrom
kekalainen:fix-schedule-work-command-binary

Conversation

@kekalainen

Copy link
Copy Markdown
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.

2 participants