mappings_old
This commit is contained in:
parent
09f9c53064
commit
12b623bdba
3 changed files with 5 additions and 5 deletions
|
|
@ -45,11 +45,11 @@ 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"
|
||||
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"
|
||||
|
||||
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"
|
||||
bash -c ". /root/.env.sh; /opt/pentaho-di/data-integration/kitchen.sh /file:////opt/pentaho-di/mappings_old/job_general.kjb > /proc/1/fd/1 2>&1"
|
||||
exit $?
|
||||
else
|
||||
cat /root/crontab | crontab -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue