I want to schedule an execution for every 30 mins in Ruby on Rails. I know sleep
can be used. Is there any other efficient method?
Note that Cron jobs, "whenever" gems won't be helpful since I dont want it as a job just a part of execution. And once sleep
is called, is there any other way to wake it up other than aborting it?