I want to write one class that class should act as a Timer
On that class , i will check the database every second for database
field called Diaplay_time ,if the current system time matched with
database Display_Time field data then i will show the message in
console,That class should terminate only when i press “Ctrl+C” key
otherwise that wont stop
can any body tell me the solution?
I need to do that