I am not sure what is the best implementation to an app which should periodically check some condition and raise an alarm if the condition is met.
Let\'s say my main