summaryrefslogtreecommitdiff
path: root/search/bin/watch-index.pl
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-08 01:34:52 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-08 01:34:52 +0100
commit3a4f027ec05aa5fdf4098ceb0dab09f69c5e0b8b (patch)
tree8a0c5bebff6a40e77bda8b02142d99a7c448545e /search/bin/watch-index.pl
parent340c3080b38518976c5c833399d8e07a7fc561bf (diff)
adding perl search index builder
Diffstat (limited to 'search/bin/watch-index.pl')
-rwxr-xr-xsearch/bin/watch-index.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/search/bin/watch-index.pl b/search/bin/watch-index.pl
new file mode 100755
index 0000000..c9d950b
--- /dev/null
+++ b/search/bin/watch-index.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/perl
+
+while (1)
+ {
+ system("./build-index");
+ sleep(60*60);
+ }
+