Add weekly cron for owners refresh; fix download timeout
- options(timeout = 300) added to update_owners.R — 87.5 MB SCPA file exceeds the 60s default - TODO updated: cron job tested end-to-end 2026-03-09
This commit is contained in:
7
TODO.md
7
TODO.md
@@ -9,10 +9,9 @@
|
||||
|
||||
- [ ] Verify SCPA Public.xlsx column structure is stable across downloads
|
||||
- [ ] Delete app from shinyapps.io (account: rob-wiederstein, appId: 14173710)
|
||||
- [ ] Add cron job to run `update_owners.R` weekly inside the rstudio container:
|
||||
`docker exec rstudio Rscript /home/rstudio/projects/r/stAndrews/data-raw/update_owners.R`
|
||||
Note: app must reload `owners.rds` after refresh — either restart container or
|
||||
make app reactive to file changes
|
||||
- [x] Add cron job to run `update_owners.R` weekly inside the rstudio container:
|
||||
Runs every Sunday at 11pm via crontab; restarts standrews_shiny after; logs to ~/standrews_update.log
|
||||
Tested end-to-end 2026-03-09 — 388 owners written, options(timeout=300) required for 87.5 MB download
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user