diff options
author | Munyoki Kilyungi | 2024-11-01 18:40:49 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-11-12 11:45:17 +0300 |
commit | c7b87ce1e37b9e8d9bd75160851a29ef612dbba3 (patch) | |
tree | ff88a0ecdb5363033529f8cc49dc9d93bf60d7c6 /genenetwork-development.scm | |
parent | 02447b0975f830a149e9e5c3d41087f39f4d54f3 (diff) | |
download | gn-machines-c7b87ce1e37b9e8d9bd75160851a29ef612dbba3.tar.gz |
Add cron job for running transform-genenetwork-database-gexp.
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r-- | genenetwork-development.scm | 9 |
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 |