I know nothing of the timer class and I want to have my ruby app wake up
in 30 minutes (or more) and have a handler for it…I don’t want to spin
in a sleep loop waiting 30 minutes - can timer class handle this?
Examples welcome or point me to a web page that has examples
I know nothing of the timer class and I want to have my ruby app wake up
in 30 minutes (or more) and have a handler for it…I don’t want to spin
in a sleep loop waiting 30 minutes - can timer class handle this?
Examples welcome or point me to a web page that has examples
Thanks in advance
Joe
I don’t believe there is a built-in ruby timer class per se.
What you might try is a combination of Thread and Kernel.sleep()
such as