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
7a67da25
Commit
7a67da25
authored
Jun 19, 2019
by
chentian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
甘肃solr端口修改,每个整点更新一次
parent
0999d4c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/main/java/com/founder/controller/TaskController.java
+1
-1
src/main/resources/application.yml
+2
-2
src/main/resources/solr.properties
+2
-1
No files found.
src/main/java/com/founder/controller/TaskController.java
View file @
7a67da25
...
...
@@ -33,7 +33,7 @@ public class TaskController {
//每隔5分执行一次:0 */5 * * * ?
//每个整点执行一次:0 0 0/1 * * ?
//每天凌晨2点执行一次:0 0 2 * * ?
@Scheduled
(
cron
=
"0
*/15 *
* * ?"
)
@Scheduled
(
cron
=
"0
0 0/1
* * ?"
)
public
String
sourcesolrdatatask
()
throws
Exception
{
System
.
out
.
println
(
"==========================开始===================="
);
long
starttime
=
System
.
currentTimeMillis
();
...
...
src/main/resources/application.yml
View file @
7a67da25
spring
:
data
:
solr
:
host
:
http://95.1.122.29:9041/solr
\ No newline at end of file
host
:
http://95.1.122.29:9044/solr
\ No newline at end of file
src/main/resources/solr.properties
View file @
7a67da25
#˰ɸ
sourcesolrdata
=
http://95.1.122.29:904
1
/solr/
sourcesolrdata
=
http://95.1.122.29:904
4
/solr/
sourcesolrdatahome
=
GNLKZSXX,MHLKDPXX,MHLKLGXX,TLDPXX,WBSWRY
\ 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