How-To: Schedule an Already Stored Job
Scheduling an Already Stored Job
// Define a Trigger that will fire "now" and associate it with the existing job
Trigger trigger = newTrigger()
.withIdentity("trigger1", "group1")
.startNow()
.forJob(jobKey("job1", "group1"))
.build();
// Schedule the trigger
sched.scheduleJob(trigger);