From 87753d58a98265a4e7a2e4563164ae653e32a00c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 26 三月 2025 13:20:03 +0800 Subject: [PATCH] runJobScheduleTask --- ansteel-biz/src/main/java/com/iailab/module/ansteel/job/task/RestartIailabModelServiceTask.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ansteel-biz/src/main/java/com/iailab/module/ansteel/job/task/RestartIailabModelServiceTask.java b/ansteel-biz/src/main/java/com/iailab/module/ansteel/job/task/RestartIailabModelServiceTask.java index dfcccdd..7cb9ef1 100644 --- a/ansteel-biz/src/main/java/com/iailab/module/ansteel/job/task/RestartIailabModelServiceTask.java +++ b/ansteel-biz/src/main/java/com/iailab/module/ansteel/job/task/RestartIailabModelServiceTask.java @@ -24,7 +24,7 @@ public void run(String params) { logger.info("RestartIailabModelServiceTask定时任务正在执行,参数为:{}", params); try { - String command = "cmd /c start D:\\iailab\\RestartIailabModelService.bat"; + String command = "cmd /c start D:\\iailab\\webapps\\model\\RestartIailabModelService.bat"; Process process = Runtime.getRuntime().exec(command); BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream())); String line; -- Gitblit v1.9.3