Skip to content

Instantly share code, notes, and snippets.

@pietern
Created November 5, 2009 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pietern/227192 to your computer and use it in GitHub Desktop.
Save pietern/227192 to your computer and use it in GitHub Desktop.
class SomeJob
include Resque::Mixin::Status
def self.perform(*args)
resque_status "00/50"
# ...
resque_status "50/50"
end
end
Resque.enqueue(SomeJob)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment