schedule

How to stop immediately the task scheduled in Java.util.Timer class.

I tried everything. This one too http://stackoverflow.com/questions/1409116/how-to-stop-the-task-scheduled-in-java-util-timer-class/4047921#4047921 I have one task that implements java.util.TimerTask I call that task in 2 ways: I schedule Timer like this: timer.schedule(timerTask, 60 * 1000); sometimes I need that work to start i...