From 948bca2a7580322a0b6544ceafff1bd96a164667 Mon Sep 17 00:00:00 2001 From: Kirosbr Date: Wed, 4 Dec 2024 10:08:10 +0100 Subject: [PATCH] debug cron --- docker-compose.yml | 2 +- start_crond.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 start_crond.sh diff --git a/docker-compose.yml b/docker-compose.yml index e4cf07b..7814fe5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,7 @@ services: reskreen-backend-cron: image: gitea.prod.resk-u.ch/clerc/reskreen:latest - command: start_crond.sh + command: /app/start_crond.sh volumes: - reskreen-data:/app/config labels: diff --git a/start_crond.sh b/start_crond.sh old mode 100644 new mode 100755 index 4d50b6e..3b45b69 --- a/start_crond.sh +++ b/start_crond.sh @@ -5,4 +5,4 @@ source venv/bin/activate # Lancer crond -crond -f +exec crond -f