| Path: | README.md |
| Last Update: | Sat Mar 02 23:46:45 +0000 2019 |
Sidekiq-Cron [](http://badge.fury.io/rb/sidekiq-cron) [](https://travis-ci.org/ondrejbartas/sidekiq-cron) [](https://coveralls.io/github/ondrejbartas/sidekiq-cron?branch=master)
[Introduction video about Sidekiq-Cron by Drifting Ruby](www.driftingruby.com/episodes/periodic-tasks-with-sidekiq-cron)
A scheduling add-on for [Sidekiq](sidekiq.org).
Runs a thread alongside Sidekiq workers to schedule jobs at specified times (using cron notation `* * * * *` parsed by [Fugit](github.com/floraison/fugit), more about [cron notation](www.nncron.ru/help/EN/working/cron-format.htm).
Checks for new jobs to schedule every 30 seconds and doesn‘t schedule the same job multiple times when more than one Sidekiq worker is running.
Scheduling jobs are added only when at least one Sidekiq process is running, but it is safe to use Sidekiq-Cron in environments where multiple Sidekiq processes or nodes are running.
If you want to know how scheduling work, check out [under the hood](under-the-hood)
Works with ActiveJob (Rails 4.2+)
You don‘t need Sidekiq PRO, you can use this gem with plain Sidekiq.
Upgrade from <0.6x to 1.0.x