From c7b87ce1e37b9e8d9bd75160851a29ef612dbba3 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 1 Nov 2024 18:40:49 +0300 Subject: Add cron job for running transform-genenetwork-database-gexp. --- genenetwork-development.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/genenetwork-development.scm b/genenetwork-development.scm index eabe810..5894cef 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -1207,6 +1207,15 @@ gn-auth." (jobs (list #~(job '(next-hour) #$(program-file "build-xapian-index-cron" build-xapian-index-cron-gexp) + #:user "laminar") + ;; Run cron once a week at midnight on Sunday morning + ;; Verify using: https://crontab.guru/#0_0_*_*_0 + #~(job "0 0 * * 0" + #$(program-file "update-virtuoso" + (transform-genenetwork-database-gexp + %connection-settings + %virtuoso-data-dir + "https://git.genenetwork.org/gn-transform-databases")) #:user "laminar"))))) (simple-service 'install-laminar-template activation-service-type -- cgit v1.2.3