-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(schedule): replace later
with cron
#32718
base: main
Are you sure you want to change the base?
feat(schedule): replace later
with cron
#32718
Conversation
later
with cron
later
with cron
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Ranges are inclusive. |
@@ -2464,7 +2464,7 @@ Here's an example config to limit the "noisy" `aws-sdk` package to weekly update | |||
"packageRules": [ | |||
{ | |||
"matchPackageNames": ["aws-sdk"], | |||
"schedule": ["after 9pm on sunday"] | |||
"schedule": ["* 21-23 * * 7"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rarkins should be we add a human readable description?
so this is effective 21:00 - 23:59
const quarterly = ['* * * */3 *']; | ||
const weekdays = ['* * * * 1-5']; | ||
const weekends = ['* * * * 6,7']; | ||
const yearly = ['* * 1 */12 *']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should add unit tests to ensure the textual representation matches our expectations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was thinking the same. On it
Changes
Replace all later scheduleing in docs & presets with their cron equivalent
Context
Closes: #32414
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: