From f0290351da16565bb9e3b36fa3965a6697719fd8 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_nassl_worker | 0 docker/cron-docker/periodic/{15min => 5min}/restart_slow_worker | 0 docker/cron-docker/periodic/{15min => 5min}/restart_worker | 0 docker/util.Dockerfile | 1 + 5 files changed, 1 insertion(+) rename docker/cron-docker/periodic/{15min => 5min}/auto_update (100%) rename docker/cron-docker/periodic/{15min => 5min}/restart_nassl_worker (100%) rename docker/cron-docker/periodic/{15min => 5min}/restart_slow_worker (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_nassl_worker b/docker/cron-docker/periodic/5min/restart_nassl_worker similarity index 100% rename from docker/cron-docker/periodic/15min/restart_nassl_worker rename to docker/cron-docker/periodic/5min/restart_nassl_worker diff --git a/docker/cron-docker/periodic/15min/restart_slow_worker b/docker/cron-docker/periodic/5min/restart_slow_worker similarity index 100% rename from docker/cron-docker/periodic/15min/restart_slow_worker rename to docker/cron-docker/periodic/5min/restart_slow_worker 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 f371ce659..9e06b2252 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/