aanshu gupta wrote:Hi,
I have a requirement where in we need to create a timer which runs every 5 mins(default). This works fine and our operation runs fine every 5 mins.
The problem is we need to change this time duration based on user choice and this is what creates the problem.
We have tried stopping the timer by timer.cancel() and restarting it with the new passed time interval but this does not work.
Anyone having worked on similar requirements/ knows the workaround?