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
Unlike cron, systemd timers do not have an in-built email mechanism when a job fails. To replicate this we can create a script and service that does just that and use OnFailure in the timer config to trigger it. A simple example is provided in the above documentation.
Note, this would also require a change to the role we use for systemd timers, as it does not currently support adding OnFailure to a timer:
As described here in the Arch Linux docs:
And here again in the OpenSuse docs:
Unlike cron, systemd timers do not have an in-built email mechanism when a job fails. To replicate this we can create a script and service that does just that and use
OnFailure
in the timer config to trigger it. A simple example is provided in the above documentation.Note, this would also require a change to the role we use for systemd timers, as it does not currently support adding
OnFailure
to a timer:The text was updated successfully, but these errors were encountered: