fix(runcron): typos
This commit is contained in:
parent
b9bbbe7d55
commit
ff1e2e6e4a
4
runcron
4
runcron
@ -4,10 +4,10 @@ ret=$?
|
||||
|
||||
if [[ "$ret" != 0 || -s /tmp/autorestic-err.log ]]
|
||||
then
|
||||
cat <(echo "Command failed with return code $ret and log:") /tmp/tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Failed" root
|
||||
cat <(echo "Command failed with return code $ret and log:") /tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Failed" root
|
||||
else
|
||||
if [[ $(wc -l < /tmp/autorestic.log) -gt 15 ]]
|
||||
then
|
||||
cat <(echo -e "Command successfully finished with the following log:") /tmp/tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Success" root
|
||||
cat <(echo -e "Command successfully finished with the following log:") /tmp/autorestic-err.log <(echo "===============") /tmp/autorestic.log | mail -s "Autorestic Backup: Success" root
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user