posted 17 years ago
Hi,
I need to schedule a task for everyday at 6.30 AM, I am trying to use Java.Util.Timer and TimerTask to do so, however I am facing a problem in using following API
schedule(TimerTask task, Date time)
Schedules the specified task for execution at the specified time.
scheduleAtFixedRate(TimerTask task, Date firstTime, long period)
Schedules the specified task for repeated fixed-rate execution, beginning
at the specified time.
My Problem is I am not able to set the Timing which is 6.30 Am.
Please provide your valuable solutions.
Thanks in advance.