From 05c0c759865fa855ab94f7f0f612bd7f83a274dd Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Tue, 5 Nov 2024 12:40:32 +0100 Subject: [PATCH] WIP: Increase cron interval for testing --- docker/cron-docker/periodic/{15min => 5min}/auto_update | 0 docker/cron-docker/periodic/{15min => 5min}/restart_worker | 0 docker/util.Dockerfile | 1 + 3 files changed, 1 insertion(+) rename docker/cron-docker/periodic/{15min => 5min}/auto_update (100%) rename docker/cron-docker/periodic/{15min => 5min}/restart_worker (100%) diff --git a/docker/cron-docker/periodic/15min/auto_update b/docker/cron-docker/periodic/5min/auto_update similarity index 100% rename from docker/cron-docker/periodic/15min/auto_update rename to docker/cron-docker/periodic/5min/auto_update diff --git a/docker/cron-docker/periodic/15min/restart_worker b/docker/cron-docker/periodic/5min/restart_worker similarity index 100% rename from docker/cron-docker/periodic/15min/restart_worker rename to docker/cron-docker/periodic/5min/restart_worker diff --git a/docker/util.Dockerfile b/docker/util.Dockerfile index 0838b2400..051b05642 100644 --- a/docker/util.Dockerfile +++ b/docker/util.Dockerfile @@ -8,6 +8,7 @@ COPY docker/cron/periodic /etc/periodic/ # create separate periodic config for cron-docker service RUN cp -r /etc/crontabs /etc/crontabs-docker RUN sed -i 's/periodic/periodic-docker/' /etc/crontabs-docker/root +RUN sed -i 's/15/5/g' /etc/crontabs-docker/root # install cron tasks for cron-docker COPY docker/cron-docker/periodic /etc/periodic-docker/