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

[5.8] Track the exit code of scheduled event commands #28140

Merged
merged 2 commits into from Apr 8, 2019

Conversation

Projects
None yet
2 participants
@kbond
Copy link
Contributor

kbond commented Apr 8, 2019

Currently, there is no way to tell if a scheduled command failed without manually viewing the output.

This change will allow users to create the following Illuminate\Console\Scheduling\Event macros:

$event->onFailureEmailOutputTo()

$event->pingOnSuccess()

Perhaps these type of methods could be added to core later...

kbond and others added some commits Apr 8, 2019

@taylorotwell taylorotwell merged commit 5a64504 into laravel:5.8 Apr 8, 2019

0 of 2 checks passed

continuous-integration/styleci/pr The analysis is running
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details

@kbond kbond deleted the kbond:schedule-exit-code branch Apr 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.