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.5] Fix task scheduler quarterly() method #19600

Merged
merged 6 commits into from
Jun 14, 2017
Merged

[5.5] Fix task scheduler quarterly() method #19600

merged 6 commits into from
Jun 14, 2017

Conversation

m1guelpf
Copy link
Contributor

@m1guelpf m1guelpf commented Jun 14, 2017

@themsaid
Copy link
Member

Just want to share that this is a breaking change, some people might consider the current behaviour as correct and changing it now would break their apps so I suggest that we submit this to 5.5 and in your own app you can use the cron() method to pass the expression suggested here until you upgrade to 5.5 upon release.

@m1guelpf m1guelpf changed the base branch from 5.4 to master June 14, 2017 17:39
@m1guelpf
Copy link
Contributor Author

@themsaid Moved to master

@decadence
Copy link
Contributor

Then it's worth waiting for fix in original library and don't change anything in Laravel.

@decadence
Copy link
Contributor

By the way I don't see how it's breaking change if it fixes a bug. Of course it triggers behaviour change.

@themsaid
Copy link
Member

behaviour change

This might cause people to complain that their jobs are running in un-expected time, although it's the correct time but that's not how it was since 5.2. That's why it might be considered a breaking change.

@tillkruss tillkruss changed the title Fix task scheduler quarterly() method [5.5] Fix task scheduler quarterly() method Jun 14, 2017
@taylorotwell
Copy link
Member

To me this isn't really a "fix" because it is not defined anywhere what "quarterly" means in this context. Some people will want it the old way and some people will want it this suggested way.

@taylorotwell
Copy link
Member

After reading the issue, I do agree this is probably the more expected behavior of quarterly.

@taylorotwell taylorotwell merged commit 781ab3e into laravel:master Jun 14, 2017
@m1guelpf m1guelpf deleted the patch-1 branch June 15, 2017 05:51
@decadence
Copy link
Contributor

Thanks. I'm glad my investigation was not in vain.

@m1guelpf
Copy link
Contributor Author

@taylorotwell

After reading the issue, I do agree this is probably the more expected behavior of quarterly.

Then, is this still considered breaking, or can I do another PR to the 5.4 branch?

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.

5 participants