4c06071f44d989e9e20b7b896b717a65c3040deb
bwick
  Mon Sep 22 17:08:13 2025 -0700
Adding cronjob for Cell Browser that updates facets .json files.

diff --git src/hg/utils/otto/otto.crontab src/hg/utils/otto/otto.crontab
index 178b1962697..8ae51a6221b 100644
--- src/hg/utils/otto/otto.crontab
+++ src/hg/utils/otto/otto.crontab
@@ -126,30 +126,35 @@
 03 01 * * * /hive/data/inside/GenArk/pushRR/pushRR.sh
 
 #NCBI RefSeq
 23 8 * * 3 /hive/data/outside/otto/ncbiRefSeq/ottoNcbiRefSeq.sh
 
 #Index page public session thumbnails update
 MAILTO=otto-group@ucsc.edu
 11 1 * * 4 /cluster/software/bin/python /cluster/bin/scripts/buildPublicSessionThumbnailsIndexPage.py /usr/local/apache/htdocs/
 
 #OMIM Upload
 HGDB_CONF=/cluster/home/otto/.hg.conf.beta
 15 05 * * *  /hive/data/outside/otto/omim/omimUploadWrapper.sh
 
 MAILTO=cells@ucsc.edu
 # Cell Browser news sec update by Matt/Brittney Sept 2022
-04 12 * * 1-5 ~bwick/miniconda3/bin/python3.8 ~bwick/cellBrowser/ucsc/updateNewsSec -r
+0 0 * * 1-5 ~bwick/miniconda3/bin/python3.8 ~bwick/cellBrowser/ucsc/updateNewsSec -r
+
+# update Cell Browser .json facets files using tabulate_facets.pl
+0 0 * * 1-5 cd /usr/local/apache/htdocs-cells-submit/facets && ~bwick/cellBrowser/ucsc/tabulate_facets.pl /usr/local/apache/htdocs-cells-beta/dataset.json
+0 0 * * 1-5 /usr/local/apache/htdocs-cells-submit/facets/tsv_to_json.py 
+ 
 
 # Malacards update. Not done monthly, but running monthly anyways, as they don't have a fixed schedule
 
 #Format: Minute - Hour - DayofMonth month Day-of-week
 MAILTO=mhaeussl@ucsc.edu
 04 04 20 * * /hive/data/outside/otto/malacards/update.sh
 
 MAILTO=jbirgmei@ucsc.edu
 # PubTator3 dbSNP track update
 28 08 * * * /bin/zsh -c 'cd /hive/data/outside/otto/pubtatorDbSnp && ./doUpdate.sh'
 
 MAILTO=cvaske@ucsc.edu
 # CIViC update. Releases are typically on the 1st of the month
 12 12 2 * * /hive/data/outside/otto/civic/doCivicUpdate.sh