Re: "REPEAT EVERY" not working as expected with "IF CONTENT"
Sebastian Arcus <[email protected]> Fri, 3 Oct 2025 13:28:02 +0100
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you kindly for taking the time to reply. I've added a question below if you have the time On 03/10/2025 09:10, Lutz Mader wrote: > Hello, > a short answer only. > >> 1. Run the 5g-check script every cycle >> 4. And then finally, skip the check completely between the hours 23-6 > > Yes, every cycle, but not between 23:00 - 06:59 o’clock > >> 2. If the output doesn't contain "NR5G", run the 5g-reboot script > > Yes. > >> 3. On the next cycle, if the output still doesn't contain "NR5G", do >> nothing - for the next 60 cycles > > No, as long as the output does not contain the string (the content test > match), the command will executed. Does that mean the "IF CONTENT" condition doesn't work like others - in the sense that it doesn't have / remember a failure or success state from the last run - so then "REPEAT EVERY" doesn't really work with it?