From f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c Mon Sep 17 00:00:00 2001 From: Arquivo Publico de Memoria Coletiva Date: Sat, 1 Aug 2015 16:00:17 -0300 Subject: Adds nice and ionice into bin/cron --- bin/cron | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3