Skip to content

Instantly share code, notes, and snippets.

@pedroaxl
Created June 23, 2010 20:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroaxl/450508 to your computer and use it in GitHub Desktop.
Save pedroaxl/450508 to your computer and use it in GitHub Desktop.
class SimpleStatusWorker < Resque::JobWithStatus
def perform
60.times do |i|
sleep 1
at(i,60,"At #{num} of #{total}")
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment