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

[12.x] Change the default for scheduled command emailOutput() to only send email if output exists #53774

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

onlime
Copy link
Contributor

@onlime onlime commented Dec 5, 2024

I found it quite confusing that this was the default for the last 8 yrs. When calling emailOutputTo() on a scheduled command, one would expect that if there is no output, there is no email. I couldn't find a use case for the default behavior (who likes to receive empty emails? and if they are used for monitoring the task runs, there are better ways for it!), assuming it was just kept like this for compatibility reasons.

As this is a bc break, I marked it as 12.x.

@crynobone crynobone changed the base branch from 11.x to master December 6, 2024 02:48
@taylorotwell taylorotwell merged commit c41b4f2 into laravel:master Dec 6, 2024
40 checks passed
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