Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parse-excel-scheduled-tasks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张志煌
parse-excel-scheduled-tasks
Commits
13154753
Commit
13154753
authored
Jan 18, 2023
by
zhangzhihuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:基础代码(集群环境用内网)
parent
fa33ee0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ParseExcelUtils.java
src/main/java/com/afanticar/job/ParseExcelUtils.java
+3
-2
No files found.
src/main/java/com/afanticar/job/ParseExcelUtils.java
View file @
13154753
...
@@ -28,8 +28,9 @@ public class ParseExcelUtils {
...
@@ -28,8 +28,9 @@ public class ParseExcelUtils {
* 迁移定时任务(使用代码代替手工配置定时任务)
* 迁移定时任务(使用代码代替手工配置定时任务)
*/
*/
public
static
void
main
(
String
[]
args
)
throws
IOException
,
InvalidFormatException
{
public
static
void
main
(
String
[]
args
)
throws
IOException
,
InvalidFormatException
{
// cmd-worker服务开发环境对应的域名
// cmd-worker服务开发环境对应的域名(集群环境用内网)
String
host
=
"api-dev.afanticar.com"
;
String
host
=
"afanti-crawler-cmd-worker.java-ms"
;
String
xxlJobHost
=
"https://xxl-job.afanticar.net/jobinfo/add"
;
String
xxlJobHost
=
"https://xxl-job.afanticar.net/jobinfo/add"
;
// 读取excel文件(解析定时任务规则、接口地址)
// 读取excel文件(解析定时任务规则、接口地址)
...
...
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