From d6a8739d8111e003f76f0d5aafaec727c238d629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=83=D0=BB=D0=B0=D1=82=20=D0=A5=D0=B0=D0=B9=D1=80?= =?UTF-8?q?=D1=83=D0=BB=D0=BB=D0=B8=D0=BD?= Date: Tue, 10 Dec 2024 04:17:23 +0300 Subject: [PATCH] entrypoint.sh --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index da3454a..c62efa2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -62,10 +62,10 @@ if [ $RUNONCE == true ]; then bash -c ". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings_old/metrics/job_metr.kjb > /proc/1/fd/1 2>&1" exit $? else + #Запускаем job один раз при старте контейнера cat /root/crontab | crontab - cron -f + echo "---- Run info_recruits/job_info_recruits.kjb ----" + bash -c ". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings_old/info_recruits/job_info_recruits.kjb > /proc/1/fd/1 2>&1" fi -#Запускаем job один раз при старте контейнера -echo "---- Run info_recruits/job_info_recruits.kjb ----" -bash -c ". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings_old/info_recruits/job_info_recruits.kjb > /proc/1/fd/1 2>&1" \ No newline at end of file