entrypoint.sh
This commit is contained in:
parent
2a2f856d47
commit
d6a8739d81
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue