-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding sink()
to init_etl()
#100
Comments
Would this be an option? This is an example with
|
Separate goal of switching out
version: '3.8'
services:
redcapcustodian:
container_name: redcapcustodian
env_file:
- /path/to/default.env
environment:
- FOO=${FOO}
image: redcapcustodian
restart: "no"
volumes:
- /path/to/host/dir:/mnt/homedir new cron format: * * * * * root docker compose -f /path/to/redcapcustodian/docker-compose.yaml --env-file /path/to/override.env run --rm redcapcustodian Rscript report/sample_report.Rmd Note that |
Is this proceeding with the docker compose solution? |
On 2024-04-30 @ljwoodley, @pbc, and @saipavan10-git discussed using https://airflow.apache.org/docs/apache-airflow/stable/index.html to manage our redcapcustodian tasks. @ljwoodley will do a proof of concept to run one workflow under airflow and produce a log file. |
We want to dump all of the R log to test files to ensure a complete run/crash log. We will do these things:
SINK_DIR
from env file that sets the root folder of the logged files.SINK_DIR
in the example env file setting the value to~/rcc_sink_log
sink()
toinit_etl()
so that existing calls to init_etl will get the new functionality without modification~/rcc_sink_log
for the sink logging hierarchy. This will place folders named 2023, 2024, etc. in~/rcc_sink_log
.$SINK_DIR/$YEAR/filename
. An example of this with full defaults for the scriptfoo_hotness
run on 2023-03-14 would be~/rcc_sink_log/2023/20230314-123456-foo_hotness.log
.Note, the discussion about this feature has underscored the value of using docker-compose and yaml files to run these containers. That will be addressed in another issue.
The text was updated successfully, but these errors were encountered: