1 2 3 4 5 6 7 8 9
class LoggingJob < ActiveJob::Base def perform(dummy) logger.info "Dummy, here is it: #{dummy}" end def job_id "LOGGING-JOB-ID" end end