public static void main(String args[]){
		new Timer().schedule(new TimerTask() {			
			@Override
			public void run() {
				System.out.println("Dodoodo!");
			}
		}, 5000, 5000);
		
		while(true){
			System.out.println(new Date().getSeconds());
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}			
		}
	}