diff options
author | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-08-01 16:00:17 -0300 |
---|---|---|
committer | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-08-01 16:00:17 -0300 |
commit | f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c (patch) | |
tree | 2020f0bea590356453f1e705e7cc59fc310aeca3 /bin/cron | |
parent | 4eaf9847b467846201cea9bcf422feb6825bba49 (diff) | |
download | arquivo-f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c.tar.gz arquivo-f27668cff7e8f9a4a2c4d0d2a09f14892c9bea6c.tar.bz2 |
Adds nice and ionice into bin/cron
Diffstat (limited to 'bin/cron')
-rwxr-xr-x | bin/cron | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |