aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 16:11:01 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 16:11:01 -0300
commitc43e827e810bc606c91159adf9fce5defe1af10f (patch)
tree203b1cf19578c042b7a1e6574fda8464ca0710f8 /bin
parent5a48d2ed4b463b093e3a8b2ff1d81f7221637a54 (diff)
downloadarquivo-c43e827e810bc606c91159adf9fce5defe1af10f.tar.gz
arquivo-c43e827e810bc606c91159adf9fce5defe1af10f.tar.bz2
Cron: also get all available content
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cron3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cron b/bin/cron
index 9ade7a06a49..d192d9bef6d 100755
--- a/bin/cron
+++ b/bin/cron
@@ -13,5 +13,6 @@ ARCHIVE="/var/cache/sites/arquivo"
# Run
cd $ARCHIVE
$IONICE $NICE $GIT annex add . && \
-$IONICE $NICE $GIT annex sync &> /dev/null
+$IONICE $NICE $GIT annex sync && \
+$IONICE $NICE $GIT annex get . &> /dev/null
cd $CWD