Commit e0b5c862 by cc150520900118

重庆solr更新

parent 7a67da25
......@@ -33,7 +33,7 @@ public class TaskController {
//每隔5分执行一次:0 */5 * * * ?
//每个整点执行一次:0 0 0/1 * * ?
//每天凌晨2点执行一次:0 0 2 * * ?
@Scheduled(cron = "0 0 0/1 * * ?")
@Scheduled(cron = "0 */10 * * * ?")
public String sourcesolrdatatask() throws Exception {
System.out.println("==========================开始====================");
long starttime = System.currentTimeMillis();
......
spring:
data:
solr:
host: http://95.1.122.29:9044/solr
\ No newline at end of file
host: http://77.1.24.81:9041/solr
\ No newline at end of file
#˰ɸ
sourcesolrdata=http://95.1.122.29:9044/solr/
sourcesolrdatahome=GNLKZSXX,MHLKDPXX,MHLKLGXX,TLDPXX,WBSWRY
\ No newline at end of file
sourcesolrdata=http://77.1.24.81:9041/solr/
sourcesolrdatahome=TB_ST_ASJ,TB_XW_RYBH,TB_XW_ZBFZXYR
\ 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