aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-11-01 18:40:49 +0300
committerMunyoki Kilyungi2024-11-12 11:45:17 +0300
commitc7b87ce1e37b9e8d9bd75160851a29ef612dbba3 (patch)
treeff88a0ecdb5363033529f8cc49dc9d93bf60d7c6
parent02447b0975f830a149e9e5c3d41087f39f4d54f3 (diff)
downloadgn-machines-c7b87ce1e37b9e8d9bd75160851a29ef612dbba3.tar.gz
Add cron job for running transform-genenetwork-database-gexp.
-rw-r--r--genenetwork-development.scm9
1 files changed, 9 insertions, 0 deletions
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