This commit is contained in:
Pavel Zilke 2024-09-07 11:48:03 +03:00
parent 24498d6a77
commit 61923855cf

View file

@ -44,9 +44,11 @@ for F in $(find . -type f); do
done;
#Запускаем 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/info_recruits/job_info_recruits.kjb > /proc/1/fd/1 2>&1"
if [ $RUNONCE == true ]; then
echo "---- Run job_general.kjb ----"
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"
exit $?
else