[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: systemd-timer vs cron



On Mon, 2022-03-14 at 11:47 +0100, Marco d'Itri wrote:

> Yes, this is true. These are the unit and script that I use, and I think 
> that Debian would benefit from having something like this available in 
> some common package.
...
> $(systemctl status "$FAILED_UNIT" --full --lines=100)

Unfortunately for my cron jobs I need the entire output of the command
invocation, don't want any output from prior runs of the command and
don't want any of the output to end up in the systemd journal.

So I need something like StandardOutput=mail or to add some sort of
wrapper script to each of the relevant systemd timers.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: