Commit 4cd24a8bc24bcc69d5295a14bafe0fe0d59fb3b4
1 parent
8e2e36a7
Exists in
master
and in
1 other branch
Update README.md
Showing
1 changed file
with
24 additions
and
25 deletions
Show diff stats
README.md
@@ -163,31 +163,30 @@ heroku run rake db:seed | @@ -163,31 +163,30 @@ heroku run rake db:seed | ||
163 | 163 | ||
164 | * If you are using a free database on Heroku, you may want to periodically clear resolved errors to free up space. | 164 | * If you are using a free database on Heroku, you may want to periodically clear resolved errors to free up space. |
165 | 165 | ||
166 | - * With the heroku-scheduler add-on (replacement for cron): | ||
167 | - | ||
168 | -```bash | ||
169 | -# Install the heroku scheduler add-on | ||
170 | -heroku addons:add scheduler:standard | ||
171 | - | ||
172 | -# Go open the dashboard to schedule the job. You should use | ||
173 | -# 'rake errbit:db:clear_resolved' as the task command, and schedule it | ||
174 | -# at whatever frequency you like (once/day should work great). | ||
175 | -heroku addons:open scheduler | ||
176 | - | ||
177 | -``` | ||
178 | - | ||
179 | - * With the cron add-on: | ||
180 | - | ||
181 | -```bash | ||
182 | -# Install the heroku cron addon, to clear resolved errors daily: | ||
183 | -heroku addons:add cron:daily | ||
184 | -``` | ||
185 | - | ||
186 | - * Or clear resolved errors manually: | ||
187 | - | ||
188 | -```bash | ||
189 | -heroku rake errbit:db:clear_resolved | ||
190 | -``` | 166 | + * With the heroku-scheduler add-on (replacement for cron): |
167 | + | ||
168 | + ```bash | ||
169 | + # Install the heroku scheduler add-on | ||
170 | + heroku addons:add scheduler:standard | ||
171 | + | ||
172 | + # Go open the dashboard to schedule the job. You should use | ||
173 | + # 'rake errbit:db:clear_resolved' as the task command, and schedule it | ||
174 | + # at whatever frequency you like (once/day should work great). | ||
175 | + heroku addons:open scheduler | ||
176 | + ``` | ||
177 | + | ||
178 | + * With the cron add-on: | ||
179 | + | ||
180 | + ```bash | ||
181 | + # Install the heroku cron addon, to clear resolved errors daily: | ||
182 | + heroku addons:add cron:daily | ||
183 | + ``` | ||
184 | + | ||
185 | + * Or clear resolved errors manually: | ||
186 | + | ||
187 | + ```bash | ||
188 | + heroku rake errbit:db:clear_resolved | ||
189 | + ``` | ||
191 | 190 | ||
192 | * You may want to enable the deployment hook for heroku : | 191 | * You may want to enable the deployment hook for heroku : |
193 | 192 |