| Article: |
Job Scheduling in Java | |
| Subject: | how to reschede the job | |
| Date: | 2007-02-01 21:53:05 | |
| From: | bhumireddy | |
|
Hi, any one help me how to reshedule the job. mycode: Date newtime=new Date(date.getTime()+(10000L*6L*cim)); JobDetail job = new JobDetail("job1", "group1",SimpleJob.class); SimpleTrigger trigger = new SimpleTrigger ("trigger","group", newtime); sched.rescheduleJob("job1","group1",trigger); ft=sched.scheduleJob(job,trigger);
|
||
Showing messages 1 through 1 of 1.
-
how to reschede the job
2007-05-10 21:22:02 VishalThakur [View]



job.setDurability(true);
before and after the jobs execution and then reschedule and again put
job.setDurability(true);
This will go fine