Last Updated: February 25, 2016
·
1.585K
· adimasuhid

Schedule a specific time Delayed_Job through "delay" method

You can run a job at a specific time with DelayedJob without going through the handleasynchronously function:

YourClass.delay(run_at: 5.hours.from_now).method

And voila! It will run 5 hours from your designated time. Remember though that DelayedJob time is in UTC!