From 0ccb9e3edf2c0bef8088c6340702c48791706ad6 Mon Sep 17 00:00:00 2001 From: Glen Daniels Date: Tue, 12 Jun 2012 10:40:18 -0400 Subject: [PATCH] Modify docs to point to heroku scheduler plugin, since cron was deprecated. --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index efdcd46..a144056 100644 --- a/README.md +++ b/README.md @@ -163,11 +163,29 @@ heroku run rake db:seed * If you are using a free database on Heroku, you may want to periodically clear resolved errors to free up space. + * With the heroku-scheduler add-on (replacement for cron): + +```bash +# Install the heroku scheduler add-on +heroku addons:add 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 +# at whatever frequency you like (once/day should work great). +heroku addons:open scheduler + +``` + + * With the cron add-on: + ```bash # Install the heroku cron addon, to clear resolved errors daily: heroku addons:add cron:daily +``` -# Or, clear resolved errors manually: + * Or clear resolved errors manually: + +```bash heroku rake errbit:db:clear_resolved ``` -- libgit2 0.21.2