Skip to content

Commit

Permalink
keep-alive
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvanhorn committed Jul 9, 2012
1 parent 3eb5fc3 commit 6c6abbe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tasks/scheduler.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
desc "This task is called by the Heroku cron add-on"
task :call_page => :environment do
uri = URI.parse('http://chuckvanhorn.herokuapp.com/')
Net::HTTP.get(uri)
end

0 comments on commit 6c6abbe

Please sign in to comment.