retry
retry copied to clipboard
cronmode: quiet on sucess but output on failure
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