Performing Check-Ins
Honeybadger supports check-ins, which allow you to monitor things like cron jobs and other services.
To perform a check-in, call Honeybadger.check_in
with the ID of the check-in
in your Honeybadger project. For example:
ruby
Honeybadger.check_in('1MqIo1')
Checking In From a Rake task
Here's an example of checking in from a rake task:
ruby
task :my_task do
# your code
Honeybadger.check_in('1MqIo1')
end
Now your task will check in when it's executed periodically by cron, Heroku Scheduler, etc. If it ever stops checking in, Honeybadger will notify you.