summaryrefslogtreecommitdiffstats
path: root/system/graphite-web/graphite-web.cron
diff options
context:
space:
mode:
Diffstat (limited to 'system/graphite-web/graphite-web.cron')
-rw-r--r--system/graphite-web/graphite-web.cron7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/graphite-web/graphite-web.cron b/system/graphite-web/graphite-web.cron
new file mode 100644
index 0000000000..856466af08
--- /dev/null
+++ b/system/graphite-web/graphite-web.cron
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/bin/graphite-build-search-index ]; then
+ /usr/bin/graphite-build-search-index
+fi