Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
e60a02fa
Commit
e60a02fa
authored
Apr 11, 2019
by
zhengjie
Browse files
1.7版本发布,详情查看版本说明
parent
9f43851e
Changes
1
Show whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/quartz/utils/QuartzManage.java
View file @
e60a02fa
...
...
@@ -72,6 +72,7 @@ public class QuartzManage {
trigger
=
trigger
.
getTriggerBuilder
().
withIdentity
(
triggerKey
).
withSchedule
(
scheduleBuilder
).
build
();
//重置启动时间
((
CronTriggerImpl
)
trigger
).
setStartTime
(
new
Date
());
trigger
.
getJobDataMap
().
put
(
QuartzJob
.
JOB_KEY
,
quartzJob
);
scheduler
.
rescheduleJob
(
triggerKey
,
trigger
);
// 暂停任务
...
...
Write
Preview
Supports
Markdown
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