Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt_solr_update
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈甜
xzxt_solr_update
Commits
e0b5c862
Commit
e0b5c862
authored
Jul 05, 2019
by
cc150520900118
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重庆solr更新
parent
7a67da25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/main/java/com/founder/controller/TaskController.java
+1
-1
src/main/resources/application.yml
+2
-2
src/main/resources/solr.properties
+3
-3
No files found.
src/main/java/com/founder/controller/TaskController.java
View file @
e0b5c862
...
...
@@ -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
();
...
...
src/main/resources/application.yml
View file @
e0b5c862
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
src/main/resources/solr.properties
View file @
e0b5c862
#˰ɸ
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment