lib/sidekiq/cron/job.rb
def active_job_message
        {
          'class' => 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper',
          'queue' => @queue,
          'args'  => [{
            'job_class'  => @klass,
            'job_id'     => SecureRandom.uuid,
            'queue_name' => @queue,
            'arguments'  => @args
          }]
        }
      end
# active job has different structure how it is loading data from sidekiq
# queue, it createaswrapper arround job
active job has different structure how it is loading data from sidekiq
queue, it createaswrapper arround job
active job has different structure how it is loading data from sidekiq queue it createaswrapper arround job
def active_job_message
        {
          'class' => 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper',
          'queue' => @queue,
          'args'  => [{
            'job_class'  => @klass,
            'job_id'     => SecureRandom.uuid,
            'queue_name' => @queue,
            'arguments'  => @args
          }]
        }
      end
def active_job_message { 'class' => 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' , 'queue' => @queue , 'args' => [ { 'job_class' => @klass , 'job_id' => SecureRandom . uuid , 'queue_name' => @queue , 'arguments' => @args } ] } end
active job has different structure how it is loading data from sidekiq
queue, it createaswrapper arround job
active job has different structure how it is loading data from sidekiq queue it createaswrapper arround job