Log script completion
This commit is contained in:
parent
c42f58b09e
commit
e1c13f06a7
@ -304,6 +304,10 @@ else
|
|||||||
echo -e "\e[0;36m...done\e[0m" >> $logFile
|
echo -e "\e[0;36m...done\e[0m" >> $logFile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## Log completion of script
|
||||||
|
echo -e "\e[1;32m[`date +%Y-%m-%d` `date +%H:%M:%S`]" \
|
||||||
|
"--Backup operations completed--\e[0m" >> $logFile
|
||||||
|
|
||||||
|
|
||||||
# Gracefully exit
|
# Gracefully exit
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue
Block a user