method
enqueue_at
v8.0.0 -
Show latest stable
- Class:
ActiveJob::QueueAdapters::ResqueAdapter
enqueue_at(job, timestamp)public
No documentation available.
# File activejob/lib/active_job/queue_adapters/resque_adapter.rb, line 36
def enqueue_at(job, timestamp) # :nodoc:
unless Resque.respond_to?(:enqueue_at_with_queue)
raise NotImplementedError, "To be able to schedule jobs with Resque you need the " "resque-scheduler gem. Please add it to your Gemfile and run bundle install"
end
Resque.enqueue_at_with_queue job.queue_name, timestamp, JobWrapper, job.serialize
end