ruby on rails - Schedule at a specific time with delayed job -
is there way schedule job @ specific time delayed_job through "delay" method, not through handle_asynchronously? like:
class.delay.method(param), :run_at => proc.new {time}
figured out. can run delayed_job passing run_at param delay.
class.delay(run_at: 5.hours.from_now).method(param)
Comments
Post a Comment