Is there a way to schedule a job at a specific time with delayed_job through the "delay" method, not through handle_asynchronously? Something like:
class.delay.method(param), :run_at => Proc.new {time}
Figured it out. You can run delayed_job by passing run_at as a param to delay.
class.delay(run_at: 5.hours.from_now).method(param)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With