Hi,
I wanted to write a simple program which would trigger at particular system time.Say for example an alram, which would fire at exactly 6:00 Am system time.
What can be the best way of doing this in core java ? Sleeping in a thread and keep polling for system time doesn't sound a good idea. Any interrupt mechanism ?
I wanted to write a simple program which would trigger at particular system time.Say for example an alram, which would fire at exactly 6:00 Am system time.
What can be the best way of doing this in core java ? Sleeping in a thread and keep polling for system time doesn't sound a good idea. Any interrupt mechanism ?