retry icon indicating copy to clipboard operation
retry copied to clipboard

cronmode: quiet on sucess but output on failure

Open sni opened this issue 3 years ago • 0 comments

I'd like to use this in a cronjob to avoid mails if a command failed only once. Using -quiet completly supresses the output, but i'd like to print the output if the command fails, even after some retries. Basically i'd like no output at all if the command finally success and the output of all or the last run if it does not work at all. Is this possible already?

Thanks

sni avatar May 14 '21 13:05 sni