定时任务测试

This commit is contained in:
dxc
2021-09-17 14:10:48 +08:00
parent 900d8cc6ca
commit 7be724f71a
2 changed files with 8 additions and 4 deletions

View File

@ -30,7 +30,7 @@ public class XxlJobConfig {
@Value("${xxl.job.executor.ip}") @Value("${xxl.job.executor.ip}")
private String ip; private String ip;
@Value("${server.port}") @Value("${xxl.job.executor.port}")
private int port; private int port;
@Value("${xxl.job.executor.logpath}") @Value("${xxl.job.executor.logpath}")

View File

@ -168,7 +168,9 @@ mconfig:
file: file:
font-address: /storage/fonts/ font-address: /storage/fonts/
upload-address: /storage/reviewReport/ upload-address: /storage/reviewReport/
bss:
app-id: 2ICalrrQ0F
app-secret: 1mb6n6635cJkDb3pEQPUFXc2nRJ8RPaS
document: document:
clientHttpUrl: http://10.242.31.158:8100/auth/oauth/token?grant_type=client_credentials&client_id=bVS46ElU&client_secret=58ea04ba02475c8da2321cc99849d2a10f15b749 clientHttpUrl: http://10.242.31.158:8100/auth/oauth/token?grant_type=client_credentials&client_id=bVS46ElU&client_secret=58ea04ba02475c8da2321cc99849d2a10f15b749
@ -187,8 +189,10 @@ xxl:
admin: admin:
addresses: http://10.242.31.158:8735/xxl-job-admin addresses: http://10.242.31.158:8735/xxl-job-admin
accessToken: Eshop@2021 accessToken: Eshop@2021
executor: appname:biz-service-ebtp-extend executor:
appname: biz-service-ebtp-extend
address: '' address: ''
ip: '' ip: ''
logpath: /var/lib/docker/log/349553515466-uat/default-group/all port: 18181
logpath: /data/applogs/xxl-job/jobhandler
logretentiondays: 30 logretentiondays: 30