aboutsummaryrefslogtreecommitdiff
path: root/bin/cron
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cron')
-rwxr-xr-xbin/cron3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cron b/bin/cron
index 9ade7a0..d192d9b 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