Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3213744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:58:47+00:00 2026-05-17T14:58:47+00:00

I have been running delayed_job and was hitting some errors, but now I don’t

  • 0

I have been running delayed_job and was hitting some errors, but now I don’t know what is sitting in the job queue or what’s going on with them….

How can I figure that out so I can debug whether it is able to execute what has been put in the queue?

Here is where I call the job (it is part of a cron task) and the mailer it calls:

  class SomeMailJob < Struct.new(:contact, :contact_email) 
   def perform
     OutboundMailer.deliver_campaign_email(contact,contact_email)
   end
 end

#class OutboundMailer < ActionMailer::Base
class OutboundMailer < Postage::Mailer 

  def campaign_email(contact,email)
    subject    email.subject
    recipients contact.email
    from       'Timothy Fong <tim.fong@opshub.com>'
    sent_on    Date.today

    body       :email => email
  end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:58:48+00:00Added an answer on May 17, 2026 at 2:58 pm

    You can gain insight into your delayed_job queue through the Delayed::Job model (I think the name of it might have changed in later versions). It’s just an ActiveRecord model and you can do all the things you’d do to a normal one. Find all, find ones with failed_at set, find ones with locked_by set (currently being worked).

    I find they’re much easier to read if you to_yaml them first: y Delayed::Job.all from console.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been running Visual Studio 2008 Team Edition for some time now and
I have been running SQL Server 2005 Express Management Studio (SSMSE), and I now
I have been having some problems trying to get my PHP running. When I
We have to use delayed_job (or some other background-job processor) to run jobs in
We have been running an SSIS package successfully in production now for 3 weeks,
I have been running Apache HTTPD in 64bit mode by stripping out the 32bit
I have an ASP.NET site that has been running perfectly for a long time,
I have been using win32api.MessageBox to do alerts, and this works for apps running
I have a c# .NET 2.0 application that has been running on W2K/IIS5 quite
I have a new ASP.NET MVC project (my first), and I had been running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.