Spring & Quartz. Scheduling stateful jobs via appcontext
hello all,
i want to schedule a job that get executed with a simpleTrigger.
I want to declare the job in my applicationcontext, as explained in chapter 18 of spring reference documentation.
However, if i do that, it looks like quartz is storing the trigger in the database, and next time that i restart my server, the trigger is not fired. I had a look at status of the trigger in qrtz_triggers table, and the status is error.
so, my question is: can i schedule a stateful job by declaring it in applicationContext?
if so, will quartz scheduler try to create a new trigger for my stateful job e very time i restart teh server?
thanx in advance and regards
marco