Hello everybody!
I've spent over a week working on a really easy scheduling application for Java (The Quartz quick start sample). I thought that I haven't configured the QuartzTest class and the HelloJob class that implements Job well. My surprise was to see that it did work over debug mode, so I reached the conclusion that executing my code in Java doesn't allow scheduler to do its job due to a lack of execution time. I was wondering whether there is a possibility to wait the line of execution until the scheduler finishes its job.
Thank you very much in advance
P.S: In the following link, you can find the example I am triying to implement. The one that promps Hello Quartz!
(http://quartz-scheduler.org/documentation/quartz-2.1.x/quick-start).
|