aboutsummaryrefslogtreecommitdiff
path: root/roles/git/files/runner-mirror/periodic.sh
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-26 23:22:18 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-26 23:22:18 +0200
commit1887e1cca6e988786c600660f2e1090bf69cbf2e (patch)
tree679b01f4007bda29e22028e3aab1181e7fd69fb7 /roles/git/files/runner-mirror/periodic.sh
parent2cab07c316fe414f0b1061b40fd7a9ae0e0b6a9c (diff)
downloadansible-memzero-1887e1cca6e988786c600660f2e1090bf69cbf2e.tar.gz
ansible-memzero-1887e1cca6e988786c600660f2e1090bf69cbf2e.zip
git: add runner to mirror github projects
Diffstat (limited to 'roles/git/files/runner-mirror/periodic.sh')
-rwxr-xr-xroles/git/files/runner-mirror/periodic.sh8
1 files changed, 8 insertions, 0 deletions
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