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 4148d333718..3df00548c5b 100755
--- a/bin/cron
+++ b/bin/cron
@@ -2,4 +2,5 @@
#
# Arquivo automatic syncronizer.
#
-cd /var/cache/sites/arquivo && /usr/bin/git annex add . && /usr/bin/git annex sync &> /dev/null
+
+cd /var/cache/sites/arquivo && /usr/bin/ionice -c 3 /usr/bin/nice -n 19 /usr/bin/git annex add . && /usr/bin/ionice -c 3 /usr/bin/nice -n 19 /usr/bin/git annex sync &> /dev/null