Closed collegeman closed 9 years ago
Oh weird, I just discovered this fix is already in master. Why do I not have the latest via composer?
Can you guys please release 1.4.2 up to this commit: https://github.com/Indatus/dispatcher/commit/fdd23d75e4cfbd9ccddd724c742773b4edc4c2e5
I just need that Environment fix to be available to my Laravel 4 application.
Done: https://github.com/Indatus/dispatcher/releases/tag/v1.4.2
The master branch was working towards a Laravel 5 implementation which has since been discontinued so this is based off of the 1.4 branch.
Bad ass! On Tue, Mar 17, 2015 at 4:42 PM Ben Kuhl notifications@github.com wrote:
Done: https://github.com/Indatus/dispatcher/releases/tag/v1.4.2
The master branch was working towards a Laravel 5 implementation which has since been discontinued so this is based off of the 1.4 branch.
— Reply to this email directly or view it on GitHub https://github.com/Indatus/dispatcher/issues/127#issuecomment-82589172.
My
App::detectEnvironment
defaults tolocal
. I can runphp artisan schedule:run --env=production
, but Dispatcher doesn't propagate theenv
flag to the commands that are scheduled to run. I think the solution is just to add--env=$environment
where$environment
is set toApp::environment()
to the$commandPieces
array before line 202 inCommandService
.