aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-12-19 13:45:57 +0000
committerArun Isaac2023-12-19 14:23:22 +0000
commit48e9c64cb459d4a6fb47f34db308697c129d32df (patch)
tree15972184e57f415735a3f4e4a7e06bfcf23483c5
parentfda58508de96bea22ed1a015eda27eaea04c1a02 (diff)
downloadgn-machines-48e9c64cb459d4a6fb47f34db308697c129d32df.tar.gz
Rebuild xapian index every hour.
The xapian index rebuild cron job runs every hour, but doesn't actually rebuild the index unless the MySQL database has changed since the previous index rebuild. * genenetwork-development.scm (operating-system): Run xapian index rebuild job every hour.
-rw-r--r--genenetwork-development.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 7415885..8c1fc22 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -1176,7 +1176,7 @@ gn-auth."
(bind-http "localhost:9089")))
(service mcron-service-type
(mcron-configuration
- (jobs (list #~(job '(next-day)
+ (jobs (list #~(job '(next-hour)
#$(program-file "build-xapian-index-cron"
build-xapian-index-cron-gexp)
#:user "laminar")))))