Commit e0b5c862 by cc150520900118

重庆solr更新

parent 7a67da25
...@@ -33,7 +33,7 @@ public class TaskController { ...@@ -33,7 +33,7 @@ public class TaskController {
//每隔5分执行一次:0 */5 * * * ? //每隔5分执行一次:0 */5 * * * ?
//每个整点执行一次:0 0 0/1 * * ? //每个整点执行一次:0 0 0/1 * * ?
//每天凌晨2点执行一次:0 0 2 * * ? //每天凌晨2点执行一次:0 0 2 * * ?
@Scheduled(cron = "0 0 0/1 * * ?") @Scheduled(cron = "0 */10 * * * ?")
public String sourcesolrdatatask() throws Exception { public String sourcesolrdatatask() throws Exception {
System.out.println("==========================开始===================="); System.out.println("==========================开始====================");
long starttime = System.currentTimeMillis(); long starttime = System.currentTimeMillis();
......
spring: spring:
data: data:
solr: solr:
host: http://95.1.122.29:9044/solr host: http://77.1.24.81:9041/solr
\ No newline at end of file \ No newline at end of file
#˰ɸ #˰ɸ
sourcesolrdata=http://95.1.122.29:9044/solr/ sourcesolrdata=http://77.1.24.81:9041/solr/
sourcesolrdatahome=GNLKZSXX,MHLKDPXX,MHLKLGXX,TLDPXX,WBSWRY sourcesolrdatahome=TB_ST_ASJ,TB_XW_RYBH,TB_XW_ZBFZXYR
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment