Skip to content
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

Add enable flag to cron jobs #468

Merged
merged 2 commits into from
Apr 20, 2024

Conversation

ksuderman
Copy link
Contributor

Adds an enable flag to each cronJob so they can be enabled/disabled. Disabling a cron job is done by setting the schedule to "0 0 30 2 * *", that is Feb 30th. Since that date will never occur the job is effectively disabled. Setting the enable flag to true resets the schedule to the value defined in the values.yaml file.

@ksuderman ksuderman requested a review from nuwang April 19, 2024 19:04
Copy link
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better!

galaxy/templates/cronjob-maintenance.yaml Show resolved Hide resolved
@nuwang nuwang merged commit eedf472 into galaxyproject:master Apr 20, 2024
2 checks passed
@ksuderman ksuderman deleted the 408-maintenance-enable branch April 21, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants