summaryrefslogtreecommitdiffstats
path: root/cron-jobs/createFileLists
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/createFileLists')
-rwxr-xr-xcron-jobs/createFileLists3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron-jobs/createFileLists b/cron-jobs/createFileLists
index d6cbd18..044b6d7 100755
--- a/cron-jobs/createFileLists
+++ b/cron-jobs/createFileLists
@@ -15,6 +15,9 @@ touch "/tmp/createFileList.lock" || exit 1
TMPDIR=$(mktemp -d /tmp/createFileList.XXXXXX) || exit 1
CACHEDIR=$(mktemp -d /tmp/createFileList.XXXXXX) || exit 1
+#adjust the nice level to run at a lower priority
+/usr/bin/renice +10 -p $$ > /dev/null
+
getpkgname() {
local tmp