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!
Written by Ace Dimasuhid
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#