aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 16:00:17 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-08-01 16:00:17 -0300
commitf27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c (patch)
tree2020f0bea590356453f1e705e7cc59fc310aeca3 /bin
parent4eaf9847b467846201cea9bcf422feb6825bba49 (diff)
downloadarquivo-f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c.tar.gz
arquivo-f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c.tar.bz2
Adds nice and ionice into bin/cron
Diffstat (limited to 'bin')
-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