Compare commits

...

2 Commits

Author SHA1 Message Date
hobbyadmin
7b08bfc8e3 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-26 17:10:44 +02:00
hobbyadmin
10dad175bf modified crontab docker-compose.yaml 2024-08-26 17:10:37 +02:00
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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