From 57a76c5bfc85b49ba1150f7ef2237271b03fb72a Mon Sep 17 00:00:00 2001 From: Guilherme Bufolo Date: Tue, 1 Oct 2024 21:55:40 +0200 Subject: [PATCH] Add entry in crontab to run job on thekendienstbot telegram channel --- cfg/thekendienstbotchannel.json | 3 +++ docker/crontab | 1 + 2 files changed, 4 insertions(+) create mode 100644 cfg/thekendienstbotchannel.json diff --git a/cfg/thekendienstbotchannel.json b/cfg/thekendienstbotchannel.json new file mode 100644 index 0000000..57c4b31 --- /dev/null +++ b/cfg/thekendienstbotchannel.json @@ -0,0 +1,3 @@ +{ + "telegram_channels": [{"name": "ThekendienstBotTest", "id": -4558981107}] +} diff --git a/docker/crontab b/docker/crontab index 5e20cc2..10824b7 100644 --- a/docker/crontab +++ b/docker/crontab @@ -4,3 +4,4 @@ # Runs every minute to test # * * * * * echo "Hello" > /proc/1/fd/1 2>&1 +# * * * * * /usr/local/bin/python3 /app/src/reportMissingThekendienst.py /app/cfg/base_config.json /app/cfg/thekendienstbotchannel.json /app/cfg/secrets.json /app/cfg/check_next_2_days.json > /proc/1/fd/1 2>&1