when using "repeat every [n] cycles" (of exec action), n is limited to 104

Issue #891 resolved
Tamás Németh created an issue
exec "echo 'Hello world!'" repeat every 360 cycles

is overriden to exec "echo 'Hello world!'" repeat every 104 cycles after monit starts (also visible on the web-interface, the config stays unchanged). (This exec is called in an if statement when a service is unavailable after then.) Daemon is set to 120.

The motivation of this is to execute something every half day after a service becomes unavailable. The version I use equals 5.16.

Is it possible to raise this limit?

Comments (2)

  1. Log in to comment