method

enqueue_at

rails latest stable - Class: ActiveJob::QueueAdapters::ResqueAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

enqueue_at(job, timestamp)
public

No documentation available.

# File activejob/lib/active_job/queue_adapters/resque_adapter.rb, line 34
        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