src/main/java/com/xcong/excoin/quartz/job/XchBaseDataUpdateJob.java
@@ -155,11 +155,8 @@ public String pyExec() { String result = ""; String path = ClassUtils.getDefaultClassLoader().getResource("").getPath(); String filePath = path + "static/xch.py"; log.info("=====>{}", filePath); try { Process process = Runtime.getRuntime().exec("python2.7 " + filePath); Process process = Runtime.getRuntime().exec("python2.7 /home/javaweb/yunding/xch.py"); process.waitFor(); InputStreamReader ir = new InputStreamReader(process.getInputStream()); LineNumberReader input = new LineNumberReader(ir);