How to close the rules regularly? #1479
-
I hope to automatically close the alarm rules after a period of time. How can I do ? |
Beta Was this translation helpful? Give feedback.
Answered by
jertel
Jun 26, 2024
Replies: 1 comment 4 replies
-
I don't understand "close the alarm rules". Can you provide more context? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a
limit_execution
option that allows you to control which days and times the rule is allowed to fire. That's not really what you're asking though. Another option is to create an enhancement that skips any matches that occur after the cutoff. That isn't perfect either since it still means the rule is wasting resources conducting the query.If you're interested in submitting a pull request for a new
disable_datetime
option then you could consider doing that.