summaryrefslogtreecommitdiff
path: root/pcr/cronjobs/update-db
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/cronjobs/update-db')
-rwxr-xr-xpcr/cronjobs/update-db6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/cronjobs/update-db b/pcr/cronjobs/update-db
new file mode 100755
index 000000000..431cb533e
--- /dev/null
+++ b/pcr/cronjobs/update-db
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+NICE='nice -n 19'
+IONICE='ionice -c 2 -n 7'
+
+exec ${IONICE} ${NICE} updatedb -f proc