Java Code:
import java.util.Date;

/**
 * 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);
    }
    
  }
}