Sha256: f232f56a0be62a8070c4acae66a491cc1721a9ea9337d1e36aa257847031bab7

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

namespace :status_cat do

  desc 'Run all checkers and output results'
  task :check => :environment do
    include StatusCat::StatusHelper
    Kernel.puts status_report( StatusCat::Status.all )
  end

  desc 'Run all checkers and email failures'
  task :cron => :environment do
    StatusCat::Status.cron
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
status_cat-0.1.1 lib/tasks/status_cat.rake
status_cat-0.1.0 lib/tasks/status_cat.rake
status_cat-0.0.9 lib/tasks/status_cat.rake
status_cat-0.0.8 lib/tasks/status_cat.rake