From 10dad175bf2bf108e75c73428f94b43de44ba065 Mon Sep 17 00:00:00 2001 From: hobbyadmin Date: Mon, 26 Aug 2024 17:10:37 +0200 Subject: [PATCH] modified crontab docker-compose.yaml --- docker/crontab | 7 +++---- docker/docker-compose.yaml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docker/crontab b/docker/crontab index 61425cc..0848f3d 100644 --- a/docker/crontab +++ b/docker/crontab @@ -1,7 +1,6 @@ # Runs every sunday at 16:00 -0 21 * * 0 /usr/local/bin/python3 /app/reportMissingThekendienst.py /app/cfg/base_config.json /app/cfg/check_next_7_days.json > /app/log/thekendienstbot_week.txt - -15 11 * * * /usr/local/bin/python3 /app/reportMissingThekendienst.py /app/cfg/base_config.json /app/cfg/check_next_2_days.json > /app/log/thekendienstbot_2days.txt +0 21 * * 0 /usr/local/bin/python3 /app/reportMissingThekendienst.py /app/cfg/base_config.json /app/cfg/check_next_7_days.json > /proc/1/fd/1 2>&1 +15 11 * * * /usr/local/bin/python3 /app/reportMissingThekendienst.py /app/cfg/base_config.json /app/cfg/check_next_2_days.json > /proc/1/fd/1 2>&1 # Runs every minute to test -#* * * * * /usr/local/bin/python3 /app/reportMissingThekendienst.py /app/base_config.json /app/check_next_7_days.json > /app/thekendienstbot_min.txt +# * * * * * echo "Hello" > /proc/1/fd/1 2>&1 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index ab73bfd..7a370c2 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -5,7 +5,7 @@ services: context: ../ dockerfile: docker/DockerFile - image: thekendienstbot:latest + image: gitea.lan.hobbyhimmel.de/matthias.lotz/thekendienstbot:latest container_name: thekendienstbot environment: - TZ=Europe/Berlin