system服务和demo服务有办法同时使用xxl-job吗 #2313
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -132,9 +132,6 @@ jero :
|
|||||||
adminAddresses: http://127.0.0.1:9080/xxl-job-admin
|
adminAddresses: http://127.0.0.1:9080/xxl-job-admin
|
||||||
appname: ${spring.application.name}
|
appname: ${spring.application.name}
|
||||||
accessToken: ''
|
accessToken: ''
|
||||||
address: 127.0.0.1:30007
|
|
||||||
ip: 127.0.0.1
|
|
||||||
port: 30007
|
|
||||||
logPath: logs/jero/job/jobhandler/
|
logPath: logs/jero/job/jobhandler/
|
||||||
logRetentionDays: 30
|
logRetentionDays: 30
|
||||||
#自定义路由配置 yml nacos database
|
#自定义路由配置 yml nacos database
|
||||||
|
|||||||
+2
-2
@@ -32,8 +32,8 @@ public class XxlJobConfiguration {
|
|||||||
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
|
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
|
||||||
xxlJobSpringExecutor.setAdminAddresses(xxlJobProperties.getAdminAddresses());
|
xxlJobSpringExecutor.setAdminAddresses(xxlJobProperties.getAdminAddresses());
|
||||||
xxlJobSpringExecutor.setAppname(xxlJobProperties.getAppname());
|
xxlJobSpringExecutor.setAppname(xxlJobProperties.getAppname());
|
||||||
xxlJobSpringExecutor.setIp(xxlJobProperties.getIp());
|
// xxlJobSpringExecutor.setIp(xxlJobProperties.getIp());
|
||||||
xxlJobSpringExecutor.setPort(xxlJobProperties.getPort());
|
// xxlJobSpringExecutor.setPort(xxlJobProperties.getPort());
|
||||||
xxlJobSpringExecutor.setAccessToken(xxlJobProperties.getAccessToken());
|
xxlJobSpringExecutor.setAccessToken(xxlJobProperties.getAccessToken());
|
||||||
xxlJobSpringExecutor.setLogPath(xxlJobProperties.getLogPath());
|
xxlJobSpringExecutor.setLogPath(xxlJobProperties.getLogPath());
|
||||||
xxlJobSpringExecutor.setLogRetentionDays(xxlJobProperties.getLogRetentionDays());
|
xxlJobSpringExecutor.setLogRetentionDays(xxlJobProperties.getLogRetentionDays());
|
||||||
|
|||||||
Reference in New Issue
Block a user