Hi,
I have to schedule a task in my spring mvc application one hour after an event occurs. I have read about the TimerTask which is based on the
Java Timer class and also I have read about the Quartz scheduler. Both of these are for periodical execution of a task either on application startup or periodic after every specific interval of time. I want my method to execute one hour after some condition is met in one of my beans only once.
Is it fair to assume that I will have to make use of the raw java Timer class by specifying the delay as one hour and period as zero, and not use what spring offers because it does not suffice my requirement?