aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cron5
-rwxr-xr-x[-rw-r--r--]bin/post-update0
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/cron b/bin/cron
new file mode 100755
index 0000000..4148d33
--- /dev/null
+++ b/bin/cron
@@ -0,0 +1,5 @@
+#!/bin/bash
+#
+# Arquivo automatic syncronizer.
+#
+cd /var/cache/sites/arquivo && /usr/bin/git annex add . && /usr/bin/git annex sync &> /dev/null
diff --git a/bin/post-update b/bin/post-update
index 3098dab..3098dab 100644..100755
--- a/bin/post-update
+++ b/bin/post-update