On 8/7/19 4:14 AM, Marc Haber wrote:
Imo, there should be a possibility in a systemd timer to switch on the "old" output-to-e-mail behavior. This is probably something that systemd upstream would never implement, so we'd end up with a wrapper that is called by the systemd timer unit.
You can sort of do this with a few systemd units, at least for failed jobs using the unit's OnFailure= action. https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO has details. That'd probably be a nice thing to ship with systemd-cron.