From 1887e1cca6e988786c600660f2e1090bf69cbf2e Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sat, 26 Aug 2023 23:22:18 +0200 Subject: git: add runner to mirror github projects --- roles/git/files/runner-mirror/periodic.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 roles/git/files/runner-mirror/periodic.sh (limited to 'roles/git/files/runner-mirror/periodic.sh') diff --git a/roles/git/files/runner-mirror/periodic.sh b/roles/git/files/runner-mirror/periodic.sh new file mode 100755 index 0000000..0eab0d0 --- /dev/null +++ b/roles/git/files/runner-mirror/periodic.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +while true; do + /mirror.sh + + echo "Sleep @ $(date)" + sleep 8h +done -- cgit v1.2.3