FileDocCategorySizeDatePackage
Reminder.javaAPI DocExample376Sun Feb 08 21:33:46 GMT 2004None

Reminder.java

import java.util.*;
/**
 * Beep every 5 minutes.
 * @author Ian F. Darwin, http://www.darwinsys.com/
 * @version $Id: Reminder.java,v 1.3 2004/02/09 03:33:46 ian Exp $
 */
public class Reminder {
	public static void main(String[] argv) throws InterruptedException {
		//+
		while (true) {
			System.out.println(new Date() + "\007");
			Thread.sleep(5*60*1000);
		}
		//-
	}
}