No commit activity in last 3 years
No release in over 3 years
capistrano-sidekiq-scheduler-roles is a gem for configuring sidekiq-scheduler via capistrano roles.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

capistrano-sidekiq-scheduler-roles

Gem Version

A gem for configuring sidekiq-scheduler via capistrano roles

Installation

Add this line to your application's Gemfile:

gem "capistrano-sidekiq-scheduler-roles"

And then execute:

$ bundle

Add this to your Capfile:

require "capistrano/sidekiq"
require "capistrano/sidekiq-scheduler-roles"

Usage

In your sidekiq.yml specify jobs with it's roles:

:schedule:
  JobForAllRoles:
    every: 1s

  JobForAppRole:
    every: 1m
    roles: [app]

  JobForAppOrDBRoles:
    every: 1h
    roles: [app, db]

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/capistrano-sidekiq-scheduler-roles

License

Released under MIT License.

Authors

Created by Yakimov Pavel.

Supported by Umbrellio