Replies: 1 comment 1 reply
-
You could just do everyFiveSeconds or similar. If Schedule is Macroable, you can add the function yourself using ->at(value(...)) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey =)
Are there any plans to add something along the lines of ...
... to https://github.com/laravel/framework/blob/11.x/src/Illuminate/Console/Scheduling/ManagesFrequencies.php#L72
to run a command only at the specified seconds?
I'm currently migrating a rather scheduling heavy project to Laravel and felt that it would be nicer instead of doing e.g. everySecond() and then checking
in_array(time() % 60, [3, 5, 7, 33, 35, 37])
or a for loop in combo with everyMinute().Not a big deal ofc, I just thought it would be nice to have that option.
Have a great day =)
Beta Was this translation helpful? Give feedback.
All reactions