Skip to content

Conversation

amirhshokri
Copy link
Contributor

This PR introduces a new midday() method to Laravel’s scheduler, allowing developers to schedule tasks to run daily at 12:00 PM using a more readable syntax:

Schedule::command('foo')->midday();

Schedule::command('foo')
    ->weekdays()
    ->midday()
    ->timezone('America/Chicago') 

@taylorotwell
Copy link
Member

Thanks for your pull request to Laravel!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.

If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!

@amirhshokri amirhshokri deleted the 12.x-add-midday-method-to-scheduler branch October 8, 2025 21:28
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