You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have a feature where the gap detector agent creates an event every time its run when a gap is detected instead of just once.
Simple example of use case, if I have a backup job that pings a webhook agent -> gap detector agent and that backup hasn't run in two days. I'd like a constant reminder that the backup is still not running.
Seems simple enough to do:
Add a default boolean option to the default on line 32.
Add validation check
update the check function to look for that option or default to current behavior if its missing.
I will give this a try, though I've never written ruby.
The text was updated successfully, but these errors were encountered:
degan6
changed the title
Create option for gap detected to create event on every run when gap is detected
Create option for gap detector to create event on every run when gap is detected
Jun 14, 2020
Would be nice to have a feature where the gap detector agent creates an event every time its run when a gap is detected instead of just once.
Simple example of use case, if I have a backup job that pings a webhook agent -> gap detector agent and that backup hasn't run in two days. I'd like a constant reminder that the backup is still not running.
Seems simple enough to do:
Looks like the line that is preventing it from happening now is:
https://github.com/huginn/huginn/blob/master/app/models/agents/gap_detector_agent.rb#L59
I will give this a try, though I've never written ruby.
The text was updated successfully, but these errors were encountered: