added comments

This commit is contained in:
Hendrik Schutter 2020-04-24 23:17:34 +02:00
parent de51c0557d
commit 6cfd6e608a
1 changed files with 3 additions and 3 deletions

View File

@ -53,10 +53,10 @@ do
overdue=$(($diff-${repos_interval[i]})) #stores diff time since last backup in seconds
fn_convertSecondsToHumanReadable $overdue # convert in human readable
overdue=$fn_result #stores diff time since last backup in human readable
fn_convertSecondsToHumanReadable ${repos_interval[i]}
plannedIntervall=$fn_result
fn_convertSecondsToHumanReadable ${repos_interval[i]} #convert planned interval for repo in human readable
plannedIntervall=$fn_result #stores the planned interval for repo in human readable
echo -e "\e[31mOverdue: $overdue"
echo -e "\e[39m "
echo -e "\e[39m " #reset console color to black
rm -f mail_content.txt
cat >> mail_content.txt <<EOL
Subject: AutoBackup Failure "${repos_name[i]}"