Add date to logs
This commit is contained in:
parent
7f44d12134
commit
7e4c176011
@ -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)."
|
||||
|
Loading…
Reference in New Issue
Block a user