0.0
The project is in a healthy, maintained state
Rails integration for Crontinel — open-source monitoring for cron jobs, background jobs, and scheduled tasks. Works with ActiveJob, Sidekiq, Rescue, and any custom scheduler.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 2.0
~> 6.0
~> 8.1
~> 13.0
~> 1.50
~> 8.1

Runtime

~> 0.1
>= 6.1, < 9.0
 Project Readme

Crontinel Rails

Rails integration for Crontinel — open-source monitoring for cron jobs, background workers, and scheduled tasks.

Unlike generic uptime tools, Crontinel knows when a job started but crashed silently, when a queue worker stopped processing, or when a cron fired but did nothing.

Installation

Add to your Gemfile:

gem "crontinel-rails", "~> 0.1.1"
bundle install

Configuration

Set your app's ingest key. That is all most apps need:

CRONTINEL_API_KEY=your_key_here
CRONTINEL_ENDPOINT=https://app.crontinel.com  # optional, for self-hosted

Or in config/application.rb:

config.crontinel.api_key = ENV["CRONTINEL_API_KEY"]
config.crontinel.enabled = true # set false to turn reporting off

Without an API key the gem reports nothing and your jobs run as usual.

What it reports

  • Active Job: every job reports one run when perform finishes, named by the job class (NightlyReportJob). An exception reports a failed run and is re-raised.
  • Sidekiq: plain Sidekiq workers report the same way through server middleware, added automatically. Active Job jobs on Sidekiq report once, not twice.

If Crontinel is unreachable, the gem logs a warning and your job's result is unchanged.

Runs are sent over the MCP endpoint and carry no outcome metrics. To alert when a job finished but did nothing, send the HTTP check-in receipt with a count from inside the job.

Manual tracking

Crontinel::Rails.track("nightly-import") do
  # your work
end

Supported Rails Versions

Rails 6.1+

License

MIT © Harun R Rayhan