From 7e4c176011a76bf6ca536720e5a57f71504f2fb8 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Thu, 9 May 2024 15:39:57 +0200 Subject: [PATCH] Add date to logs --- bup-sync-trigger.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bup-sync-trigger.sh b/bup-sync-trigger.sh index 5c320dc..172d45e 100755 --- a/bup-sync-trigger.sh +++ b/bup-sync-trigger.sh @@ -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)."