|
|
@ -102,8 +102,8 @@ public final class DynamicSchedulerUtil implements InitializingBean { |
|
|
|
// fill job info
|
|
|
|
// fill job info
|
|
|
|
public static void fillJobInfo(XxlJobInfo jobInfo) { |
|
|
|
public static void fillJobInfo(XxlJobInfo jobInfo) { |
|
|
|
// TriggerKey : name + group
|
|
|
|
// TriggerKey : name + group
|
|
|
|
TriggerKey triggerKey = TriggerKey.triggerKey(jobInfo.getJobName(), Scheduler.DEFAULT_GROUP); |
|
|
|
TriggerKey triggerKey = TriggerKey.triggerKey(jobInfo.getJobName(), jobInfo.getJobGroup()); |
|
|
|
JobKey jobKey = new JobKey(jobInfo.getJobName(), Scheduler.DEFAULT_GROUP); |
|
|
|
JobKey jobKey = new JobKey(jobInfo.getJobName(), jobInfo.getJobGroup()); |
|
|
|
try { |
|
|
|
try { |
|
|
|
Trigger trigger = scheduler.getTrigger(triggerKey); |
|
|
|
Trigger trigger = scheduler.getTrigger(triggerKey); |
|
|
|
JobDetail jobDetail = scheduler.getJobDetail(jobKey); |
|
|
|
JobDetail jobDetail = scheduler.getJobDetail(jobKey); |
|
|
|