-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Schedule due times doesn't take ->between() into account #51107
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Laravel Version
8.83
PHP Version
7.4
Database Driver & Version
N/A
Description
I was preparing some schedule tests for my Laravel package when I encountered the issue. I've noticed that neither
->isDue()
or->nextRunDate()
takes->between()
statements (which are essentially->when()
) into account when determining schedules due time.Steps To Reproduce
Following is the code snippet how I noticed the issue. I'm not sure if this is intended behavior or its missing something. Because for me, it doesn't make sense that
->isDue()
or->nextRunDate()
doesn't take->when()
or->between()
statements into account. After all, you designate some time frame in the->between()
.The text was updated successfully, but these errors were encountered: