Log script completion

This commit is contained in:
Asif Bacchus 2018-09-04 22:20:52 -06:00
parent c42f58b09e
commit e1c13f06a7

View File

@ -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