Add date to logs
This commit is contained in:
parent
7f44d12134
commit
7e4c176011
@ -134,6 +134,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "The backup script is triggered."
|
echo "The backup script is triggered."
|
||||||
|
date
|
||||||
|
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
@ -146,6 +147,9 @@ do
|
|||||||
fi
|
fi
|
||||||
done <<< $(cat "$repoFile" | grep -v '^#' | sed '/^\W*$/d')
|
done <<< $(cat "$repoFile" | grep -v '^#' | sed '/^\W*$/d')
|
||||||
|
|
||||||
|
echo "All sync scripts have been run."
|
||||||
|
date
|
||||||
|
|
||||||
if [ -n "$dryRun" ]
|
if [ -n "$dryRun" ]
|
||||||
then
|
then
|
||||||
echo "Not updating the trigger timestamp. The value would be $(getNextDate)."
|
echo "Not updating the trigger timestamp. The value would be $(getNextDate)."
|
||||||
|
Loading…
Reference in New Issue
Block a user