class SidekiqScheduler::JobPresenter

def next_time

Returns:
  • (String) - with the job's next time
def next_time
  execution_time = SidekiqScheduler::RedisManager.get_job_next_time(name)
  relative_time(Time.parse(execution_time)) if execution_time
end