From 5f83bde5b85d006ebf9a430677ba8ec75eb157e4 Mon Sep 17 00:00:00 2001 From: rem Date: Wed, 13 Dec 2023 17:24:00 +0100 Subject: [PATCH] o --- entrypoint.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e462e08..cec80ab 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh -echo "[INFO] STARTING AI MODEL TRAINING SERVER" -echo "[INFO] LAUNCH CRON IN BACKGROUND" +echo '[INFO] STARTING AI MODEL TRAINING SERVER' +echo '[INFO] LAUNCH CRON IN BACKGROUND' service cron start service cron status @@ -9,9 +9,10 @@ service cron status while true; do if [ -f "/app/cron_exist.cron" ]; then echo "YES CRON WORKS" - else - echo "NO CRON FOR THE MOMENT" + break; fi - + sleep 10 done + +sleep infinity