I have requirement saying that i want execute the mailing code without any event but based on timer when the specified time comes that code as to execute and the mail has to send .
package com.uttara.reg;
import java.util.TimerTask;
public class Timer extends TimerTask {
@Override
public void run() {
// TODO Auto-generated method stub
}
}
i can't understand how to call timer class
Could anybody plz help me out!!! Thanks in advance