summaryrefslogtreecommitdiffstats
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-25 16:06:34 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-25 16:06:34 +0100
commitdea8091103c9683e29477e1828b088e239f414ed (patch)
treec257686ea82108279af82ac3659c7830484ad124 /cron-jobs/sourceballs
parente792abefa6eff4cf54616add0b19d731d486045f (diff)
downloaddbscripts-dea8091103c9683e29477e1828b088e239f414ed.tar.gz
dbscripts-dea8091103c9683e29477e1828b088e239f414ed.tar.xz
sourceballs: be nice
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 9ba003a..6553327 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -13,6 +13,9 @@ for repo in ${PKGREPOS[@]}; do
done
done
+#adjust the nice level to run at a lower priority
+renice +10 -p $$ > /dev/null
+
# Create a readable file for each repo with the following format
# <pkgbase|pkgname> <pkgver>-<pkgrel> <arch> <license>[ <license>]
for repo in ${PKGREPOS[@]}; do