Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7726b744
authored
Apr 17, 2026
by
王璐琦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
定时任务触发提交
1 parent
bfef70ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
05_v5.7.1_20260417/ElasticJob执行.md
05_v5.7.1_20260417/ElasticJob执行.md
0 → 100644
View file @
7726b74
## 示例
```
txt
欣伟:
申请线上定时任务触发,用于需求上线后验证。
触发时间:0328大版本上线服务发版后
注册中心:dubbo.zk.glsx.com:2181
命名空间:glsx_elastic_job
需要触发的定时任务名:EarlyWarningMsgCreateJob、EarlyWarningMsgQiWeiGroupJob、EarlyWarningOpeStaffSendJob、EarlyWarningResStaffSendJob、EarlyWarningSupSalesStaffSendJob
执行步骤:先把上述job的corn表达式改成离当前时间一分钟,例如(0 0 23 * * ?) 23点0分执行,让程序自己执行一次,执行一次后,会变成正常可触发状态,无需再次触发,只需要把corn表达式还原就行
注意事项:定时任务 EarlyWarningSupSalesStaffSendJob 需要先改配置后执行定时任务,测试完成后再把配置还原。把服务 rpc-dj-mindworkplate 配置项 work.wechat.ope.phone 值改为 13825207633,等测试完成再还原。
```
## 内容
```
txt
王经理你好:
申请线上定时任务触发,用于需求上线后验证。
注册中心:dubbo.zk.glsx.com:2181
命名空间:glsx_elastic_job
任务1:
任务名称:NbCbBatchTransferJob
操作内容:修改corn表达式为 0 0/3 * * * ?
对于以上2、3、4四个任务,触发任务后需还原表达式。
```
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment