aboutsummaryrefslogtreecommitdiff
path: root/bin/cron
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 14:39:46 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 14:39:46 -0300
commit9e09f2ac258908fab25d2ab10d4ff2a374dff316 (patch)
tree8aed777f3998604dfbaffbb5ccace008b743ee6e /bin/cron
parent189a71139e9a0faeabff0a313cacd6c7b4ae3731 (diff)
downloadarquivo-9e09f2ac258908fab25d2ab10d4ff2a374dff316.tar.gz
arquivo-9e09f2ac258908fab25d2ab10d4ff2a374dff316.tar.bz2
Cron script
Diffstat (limited to 'bin/cron')
-rwxr-xr-xbin/cron5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/cron b/bin/cron
new file mode 100755
index 00000000000..4148d333718
--- /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