Link to home
Start Free TrialLog in
Avatar of cHEo
cHEoFlag for Malaysia

asked on

Timer

1. I want to schedule a process to run at 12 midnight everyday. How do I do that by using Timer object? Or is there any other way? Sample code will be much helpful.

2. I use Timer.schedule(TimerTask task, Date time) function, but having problem to define the Date parameter. ex. I want to run it on 2002/04/30,
Date time = new Date(102,4,30), this doesn't work.

Thank you!
Avatar of girionis
girionis
Flag of Greece image

Listening.
Avatar of cHEo

ASKER

where can I get some example for this topic in the web?
Providing URL will be great
Avatar of cHEo

ASKER

where can I get some example for this topic in the web?
Providing URL will be great
Avatar of cHEo

ASKER

where can I get some example for this topic in the web?
Providing URL will be great
ASKER CERTIFIED SOLUTION
Avatar of Neutron
Neutron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Neutron
Neutron

oops, girionis, sorry about that link O:-)
 It's all right :-)