Write script start to log file

This commit is contained in:
Asif Bacchus 2018-09-04 18:15:48 -06:00
parent 11b5c4f5c9
commit d38ec9c9dd

View File

@ -92,3 +92,7 @@ if [ $EUID != 0 ]; then
fi
## Write script execution start in log file
echo -e "\e[1;32m[`date +%Y-%m-%d` `date +%H:%M:%S`]" \
"--Begin backup operations--\e[0m" >> $logFile