-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 <[email protected]>
Ranges are inclusive. |
This comment was marked as outdated.
This comment was marked as outdated.
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.
see new comments
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.
please add the mentioned descriptions for better copying as discussed on slack
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 do you prefer zero or seven for sunday? we should be consistent and only use one of them even both are working.
"every weekend" | ||
] | ||
"description": "Schedule during typical non-office hours on weekdays (i.e., 10 PM - 5 AM) and anytime on weekends", | ||
"schedule": ["* 0-4,22-23 * * 1-5", "* * * * 6,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.
"schedule": ["* 0-4,22-23 * * 1-5", "* * * * 6,7"] | |
"schedule": ["* 0-4,22-23 * * 1-5", "* * * * 0,6"] |
we should consistently use 0,6
or 6,7
"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.
"schedule": ["* 21-23 * * 7"] | |
"schedule": ["* 21-23 * * 0"] |
I agree that we should be consistent with the times, if possible. 🙂 |
Changes
Replace all later scheduleing in docs & presets with their cron equivalent
Context
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: