JOB_PATH=$(cd "$(dirname "$0")"; pwd) PDI_HOME=/root/pdi-ce-4.1.0-stable/data-integration/ export JAVA_HOME=/usr/java/jdk1.6.0_21/jre export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar cd $PDI_HOME ./kitchen.sh -file="$JOB_PATH/ascm_data.kjb" >> "$JOB_PATH/kettle.log"