Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: testing
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.524 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#-*- mode: ruby -*-\n# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require 'rake'

Apptest::Application.load_tasks

desc 'triggers the heartbeat request (user updates)'
task :heartbeat => [:environment] do
    heartbeat = Heartbeat.new
    heartbeat.beat

    puts "#{DateTime.now.strftime('%Y-%m-%d %H:%M:%S')} - #{heartbeat}"
end
# vim: syntax=Ruby
Something went wrong with that request. Please try again.