Quartz Job Scheduler

Contents | ‹ Prev | Next ›

How-To: Storing a Job for Later Use

Storing a Job


// Define job instance
JobDetail job = new JobDetail("job1", "group1", MyJobClass.class);
	
// Add the the job to the scheduler's store
sched.addJob(job, false);