summaryrefslogtreecommitdiff
path: root/core/mlocate/updatedb.cron
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-24 00:22:59 -0700
committerroot <root@rshg054.dnsready.net>2012-09-24 00:22:59 -0700
commit8f0a971364bf8fee254a13a94adf2bfa9173e804 (patch)
tree8b25f3fa8cb2e7b6b61d26a667d5f6e3ad967b70 /core/mlocate/updatedb.cron
parenta7f8166c8968d3414378051d28dcfcc3e377837b (diff)
Mon Sep 24 00:22:58 PDT 2012
Diffstat (limited to 'core/mlocate/updatedb.cron')
-rwxr-xr-xcore/mlocate/updatedb.cron6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/mlocate/updatedb.cron b/core/mlocate/updatedb.cron
new file mode 100755
index 000000000..431cb533e
--- /dev/null
+++ b/core/mlocate/updatedb.cron
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+NICE='nice -n 19'
+IONICE='ionice -c 2 -n 7'
+
+exec ${IONICE} ${NICE} updatedb -f proc