Add date to logs

This commit is contained in:
Christian Wolf 2024-05-09 15:39:57 +02:00
parent 7f44d12134
commit 7e4c176011

View File

@ -134,6 +134,7 @@ then
fi
echo "The backup script is triggered."
date
while read line
do
@ -146,6 +147,9 @@ do
fi
done <<< $(cat "$repoFile" | grep -v '^#' | sed '/^\W*$/d')
echo "All sync scripts have been run."
date
if [ -n "$dryRun" ]
then
echo "Not updating the trigger timestamp. The value would be $(getNextDate)."