From e9dd3a767b14374c152ea14012a46fb45ebed3b0 Mon Sep 17 00:00:00 2001 From: liuliangbin Date: Thu, 19 Apr 2018 16:44:37 +0800 Subject: [PATCH] =?UTF-8?q?jobClient=20=20Spring=20XML=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=20=20=20=E9=9C=80=E8=A6=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=BA=20init-method=3D"start"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spring XML方式启动 需要配置为 init-method="start" jobClient 确保 jobClient调用提交任务时候已经启动。 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1bb5ff8d..c77e5a200 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Response response = jobClient.submitJob(job); ###Spring XML方式启动 ```java - + @@ -415,4 +415,4 @@ public class Application { ##LTS-Admin使用jetty启动(默认),不定期挂掉解决方案 -见[issue#389](https://github.com/ltsopensource/light-task-scheduler/issues/389) \ No newline at end of file +见[issue#389](https://github.com/ltsopensource/light-task-scheduler/issues/389)