Friday, October 20, 2017

Call Python Script from Shell Script

#!/bin/bash
export PATH=/home/app/jython2.7.0/bin:$PATH
export CLASSPATH=/home/app/jython2.7.0/javalib/ojdbc14.jar:$CLASSPATH
export JAVA_HOME=/appName/WL12c/app/oracle/jdk1.7.0_15

jython /home/app/jython2.7.0/bin/startProcess.py
~

No comments: