posted 9 years ago
I am trying to learn quartz. I have main method
Which works fine. It prints to the console on 3rd day of the week at 12:38 pm.
Now, what I want to do is to reschedule the trigger, so that it deletes the previous stored trigger and creates a new trigger with new schedule.
I read a lot of things at a lot of places but I just can't seem to understand clearly what I actually have to do, for ex:
and also this:
// Define a new Trigger
// tell the scheduler to remove the old trigger with the given key, and
// put the new one in its place
but I can't understand the approach(I do understand what is happening in the code though). Thanks in advance.