57bd4d13fdfcbf7c479087eb6151a4cf2f956cbb
mspeir
  Mon Jul 27 09:17:50 2026 -0700
otto cron: keep cbAnnotServer gunicorn alive, refs #37492

diff --git src/hg/utils/otto/otto.crontab src/hg/utils/otto/otto.crontab
index 609d2bea21c..2fe655dc489 100644
--- src/hg/utils/otto/otto.crontab
+++ src/hg/utils/otto/otto.crontab
@@ -165,15 +165,20 @@
 0 0 * * 1-5 cd /usr/local/apache/htdocs-cells-submit/facets && /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=cells@ucsc.edu
 @reboot umask 0000; /cluster/home/max/htdocs-cells-submit/tusd/tusd_linux_amd64/tusd -upload-dir /hive/data/inside/cells/upload/ -port 8443 -max-size 100000000000
+
+# cbAnnotServer: Cell Browser login/annotation API (RM #37492). Keeps gunicorn
+# (127.0.0.1:5051, Apache proxies /api to it) alive; restarts if down / on reboot.
+* * * * * umask 002; CBANNOT_ENV_FILE=/hive/data/inside/cells/cbAnnotServer/cbAnnot.env ~mspeir/cellBrowser/src/cbAnnotServer/deploy/watchdog.sh >> /hive/data/inside/cells/cbAnnotServer/logs/watchdog.log 2>&1
+@reboot umask 002; CBANNOT_ENV_FILE=/hive/data/inside/cells/cbAnnotServer/cbAnnot.env ~mspeir/cellBrowser/src/cbAnnotServer/deploy/watchdog.sh >> /hive/data/inside/cells/cbAnnotServer/logs/watchdog.log 2>&1