From 4e21d575e80aab36532bfe97f67b945027281e01 Mon Sep 17 00:00:00 2001 From: Pavel Zilke Date: Fri, 30 Aug 2024 06:01:06 +0300 Subject: [PATCH] fix crontab --- crontab | 2 +- entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crontab b/crontab index fe2bdec..719c2cb 100644 --- a/crontab +++ b/crontab @@ -1 +1 @@ -*/10 * * * * bash -c \". /root/.env.sh; kitchen.sh /file:////opt/pentaho-di/mappings/job_general.kjb > /proc/1/fd/1 2>&1 \" +*/10 * * * * bash -c ". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings/job_general.kjb > /proc/1/fd/1 2>&1" diff --git a/entrypoint.sh b/entrypoint.sh index 17ecb44..8a4de34 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -44,5 +44,6 @@ for F in $(find . -type f); do done; cat /root/crontab | crontab - +#echo "*/10 * * * * bash -c \". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings/job_general.kjb > /proc/1/fd/1 2>&1 \"" | crontab - cron -f