summaryrefslogtreecommitdiff
path: root/pcr/cronjobs/update-db
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 09:49:11 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-17 09:49:11 -0500
commit84b120a57fd378584de559413c6f921d937cee52 (patch)
treed3898098b3ae0cdc18e49350eafaf15c8abee6c6 /pcr/cronjobs/update-db
parent1385f50eb6ff04e2ec0f53901940e32cfcc41595 (diff)
downloadabslibre-84b120a57fd378584de559413c6f921d937cee52.tar.gz
abslibre-84b120a57fd378584de559413c6f921d937cee52.tar.bz2
abslibre-84b120a57fd378584de559413c6f921d937cee52.zip
cronjobs: add new package to [pcr]
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