From 26eddb822ab2053e3586d889fc1bce69bba844ad Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 8 Apr 2024 07:14:57 -0400 Subject: [PATCH] Try to fix crontab --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 250848e..ff7ced9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,9 @@ RUN install2.r --error --skipinstalled \ RUN Rscript -e "remotes::install_version('h2o', '3.42.0.2')" -COPY docker-resources/crontab /etc/cron.d/crontab +COPY docker-resources/crontab /etc/cron.d/iit-crontab +RUN chmod 0644 /etc/cron.d/iit-crontab +RUN touch /var/log/cron.log COPY IIT-Prediction/model/V7 /app/model COPY SQL/iit_prod_data_extract.sql /app/iit_prod_data_extract.sql COPY docker-resources/run_predictions.sh /app/run_predictions.sh