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

kbond
Copy link
Contributor

@kbond 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...

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