entrypoint.sh

This commit is contained in:
Булат Хайруллин 2024-12-10 04:17:23 +03:00
parent 2a2f856d47
commit d6a8739d81

View file

@ -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"