Permalink
Browse files

describe the rake tasks

  • Loading branch information...
1 parent bbe554d commit b988f4e3ba43d60fda8017fced8096faaae167a1 @westonplatter westonplatter committed Oct 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/tasks/ping.rake
View
@@ -1,11 +1,13 @@
require File.expand_path('../../../app/workers/ping', __FILE__)
namespace :ping do
+ desc "checks RubyGems.org status once"
task :once => :environment do
pw = PingWorker.new
pw.update
end
+ desc "checks RubyGems.org status every 60 seconds"
task :forever => :environment do
pw = PingWorker.new
while true

0 comments on commit b988f4e

Please sign in to comment.