From da21fa61c97029ec228ee574f29c2de86def4e25 Mon Sep 17 00:00:00 2001 From: stephan.com Date: Fri, 26 Feb 2016 00:37:08 -0500 Subject: [PATCH] correct incorrect errbit:db namespace in docs and cron task --- docs/deployment/capistrano.md | 2 +- docs/deployment/heroku.md | 2 +- lib/tasks/heroku/cron.rake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployment/capistrano.md b/docs/deployment/capistrano.md index 796f157..ef8b9d7 100644 --- a/docs/deployment/capistrano.md +++ b/docs/deployment/capistrano.md @@ -75,7 +75,7 @@ rbenv=1 bundle exec cap production deploy ## Schedule recurring tasks You may want to periodically clear resolved errors to free up space. -Schedule ```rake errbit:db:clear_resolved``` to run every day or so. +Schedule ```rake errbit:clear_resolved``` to run every day or so. ## Monit diff --git a/docs/deployment/heroku.md b/docs/deployment/heroku.md index 767829a..6c9f352 100644 --- a/docs/deployment/heroku.md +++ b/docs/deployment/heroku.md @@ -58,7 +58,7 @@ Option 1. With the heroku-scheduler add-on (replacement for cron): heroku addons:create scheduler:standard # Go open the dashboard to schedule the job. You should use -# 'rake errbit:db:clear_resolved' as the task command, and schedule it +# 'rake errbit:clear_resolved' as the task command, and schedule it # at whatever frequency you like (once/day should work great). heroku addons:create scheduler ``` diff --git a/lib/tasks/heroku/cron.rake b/lib/tasks/heroku/cron.rake index 1a7f1a9..a6898ed 100644 --- a/lib/tasks/heroku/cron.rake +++ b/lib/tasks/heroku/cron.rake @@ -1,4 +1,4 @@ desc "This task is called by the Heroku cron add-on" task cron: :environment do - Rake::Task["errbit:db:clear_resolved"].invoke + Rake::Task["errbit:clear_resolved"].invoke end -- libgit2 0.21.2