From cf6d89bcf906ba72560847cb804646b9cd8d99b4 Mon Sep 17 00:00:00 2001 From: danix Date: Fri, 14 Apr 2023 10:45:52 +0200 Subject: sync operations now check for last sync before running again. It's possible to set a delay between sync operations. --- SOURCE/head.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SOURCE/head.sh') diff --git a/SOURCE/head.sh b/SOURCE/head.sh index 7b684f1..890d711 100644 --- a/SOURCE/head.sh +++ b/SOURCE/head.sh @@ -51,6 +51,8 @@ NOTESDIR=${BASEDIR}/notes USEGIT=true # Address of your remote repository GITREMOTE=${GITREMOTE:-""} +# How long should we wait (in seconds) between sync on the git remote. Default 3600 (1 hour) +GITSYNCDELAY=${GITSYNCDELAY:-3600} } # end set_defaults, do not change this line. -- cgit v1.2.3