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

  • SEARCH
  • Home
  • 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 6131415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:58:20+00:00 2026-05-23T16:58:20+00:00

I am using this plugin for scheduled job.But it is not working. I am

  • 0

I am using this plugin for scheduled job.But it is not working.
I am confused about some points,Should I need to create the Job class and set their name in to schedule file?When testing it then,Should I run the rescue scheduler and Resque worker both or only one of them.

Thanks in advance.

  • 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-23T16:58:20+00:00Added an answer on May 23, 2026 at 4:58 pm

    My Resque Scheduler config… you will mostly need all these pieces:

    YML file (config/resque_scheduler.yml):

    every_1_minute:
      cron: "* * * * *"
      class: EveryMinute
      queue: some_queue
      description: Tasks to perform every minute
    

    config/initializers/resque.rb:

    require 'resque_scheduler'
    Resque.schedule = YAML.load_file(File.join(Rails.root, 'config/resque_scheduler.yml'))
    

    Ruby class (lib/every_minute.rb or somewhere in the load path):

    class EveryMinute
      def self.perform
        puts "Hello every minute!"
      end
    end
    

    You need to run

    rake resque:scheduler
    rake resque:work
    

    The resque:scheduler process periodically queues up jobs, hence the scheduling. And the workers will just do the jobs blindly. This is why you need BOTH to successfully schedule and run jobs periodically.

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

Sidebar

Related Questions

I am using this plugin ..but this plugin http://jquerymsgbox.ibrahimkalyoncu.com/ is not working in IE7.
I am using this plugin http://code.google.com/p/lwrte/ , but I can not select the textarea
I'm using this jQuery inline datePicker plugin sample but I don't know how to
I'm using this plugin with jQuery 1.6.1 and jQuery UI 1.8.14 to create a
I am using this plugin to create charts: http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/ The code works below if
I am using this plugin to store some cookies: https://code.google.com/p/cookies/wiki/Documentation I was wondering how
I`m using this plugin found on web to preview some images in a php/linux
I'm using this plugin http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ and it works awesome!! but I'd like to make
I'm using this plugin: http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html I have some places where I'm using ajax that
for coffee script in visual studio currently I'm using this plugin. But on relatively

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.