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 7888839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:56:22+00:00 2026-06-03T05:56:22+00:00

As per the resque-status home page on GitHub I should be able to pass

  • 0

As per the resque-status home page on GitHub I should be able to pass back data from a job. For some reason this does not seem to be working for me. If anyone else has encountered this problem and worked around it I would like to know how.

I am using resque-status with JRuby 1.6.5 in a Rails 3.2.3 application.


Passing back data from the job

You may want to save data from inside the job to access it from outside the job.

A common use-case is web-triggered jobs that create files, later available for download by the user.

A Status is actually just a hash, so inside a job you can do:

status[‘filename’] = ‘/myfilename’
Also, all the status setting methods take any number of hash arguments. So you could do:

complete(‘filename’ => ‘/myfilename’)

  • 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-06-03T05:56:23+00:00Added an answer on June 3, 2026 at 5:56 am

    Apparently such functionality is not implemented, as read on
    https://github.com/quirkey/resque-status/issues/66

    we’ve found a work around using the function set_status to add the required data to the status hash:

    set_status({"my variable" => "my value" })
    

    hope this helps!

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

Sidebar

Related Questions

Per http://www.assembla.com/spaces/clojure/wiki/Datatypes I should be able to type the following into a lein reply:
Per different user mode, some pages should not be accessible by users unless they
Per a great answer from another question I have begun mounting global resources (css/js/images)
As per my knowledge when ever a web-page is loading, always header is loading
Rspec obviously hates me. I kinda hate him back. #features/step_definitions/custom_steps.rb Then /^I should see
Per documentation, Doctrine_Record after saving should set id of newly created record as object
Per the docs , this should be enough to run Twitter Bootstrap: <div class=carousel>
I'm trying to POST some data as if I was using FORM on HTML
Per the Postgres manual on date/time , the timestamp type can go from 4713
Per protocol ref, windowWillReturnFieldEditor should be called for any text-displaying object when it needs

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.