class SidekiqScheduler::JobPresenter
def next_time
-
(String)
- with the job's next time
def next_time execution_time = Sidekiq.redis { |r| r.hget(Sidekiq::Scheduler.next_times_key, name) } relative_time(Time.parse(execution_time)) if execution_time end