summaryrefslogtreecommitdiff
path: root/scripts/git.mirror.cron
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-03-18 18:58:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-03-18 19:13:55 +0000
commit848d7423b4146ca03d45de2a27051d9667c5be18 (patch)
tree4f7d7271b8c8409314bca1fcc90ac221e5a05c66 /scripts/git.mirror.cron
parentNSCA configs and backup script submits via nsca not direct (diff)
downloadconfig-848d7423b4146ca03d45de2a27051d9667c5be18.tar.bz2
config-848d7423b4146ca03d45de2a27051d9667c5be18.tar.xz
config-848d7423b4146ca03d45de2a27051d9667c5be18.zip
Swap git mirroring script for crontab and makefile
Only does what's needed, more often, right user
Diffstat (limited to 'scripts/git.mirror.cron')
-rw-r--r--scripts/git.mirror.cron1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/git.mirror.cron b/scripts/git.mirror.cron
new file mode 100644
index 0000000..d3411e2
--- /dev/null
+++ b/scripts/git.mirror.cron
@@ -0,0 +1 @@
+*/5 * * * * randomdan make -sf backup.mk -C /var/git/