I start two threads with a Timer and TimerTasks
Timer timer = new Timer(); TimerTask task = new TimerTask() { public void run() { doSomething(); } }; Calendar start = Calendar.getInstance(); timer.scheduleAtFixedRate(task, start.getTime(), 1000 * 60 * 60); Now sometimes the second thread stops. Is there a possibility to observe the thread perhaps for sending a mail when this thread stops, maybe by a third thread that looks for the second thread?