For systemd timers, email on repeated failure & success after failure.
In the service triggered by the timer, prepend this script to the ExecStart.
For systemd timers, email on repeated failure & success after failure.
In the service triggered by the timer, prepend this script to the ExecStart.