Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/umbrellio/capistrano-sidekiq-scheduler-roles

A gem for configuring sidekiq-scheduler via capistrano roles
https://github.com/umbrellio/capistrano-sidekiq-scheduler-roles

capistrano capistrano-roles capistrano-sidekiq capistrano-sidekiq-scheduler sidekiq sidekiq-scheduler

Last synced: about 2 months ago
JSON representation

A gem for configuring sidekiq-scheduler via capistrano roles

Awesome Lists containing this project

README

        

## capistrano-sidekiq-scheduler-roles
[![Gem Version](https://badge.fury.io/rb/capistrano-sidekiq-scheduler-roles.svg)](https://badge.fury.io/rb/capistrano-sidekiq-scheduler-roles)

A gem for configuring sidekiq-scheduler via capistrano roles

## Installation

Add this line to your application's `Gemfile`:

```ruby
gem "capistrano-sidekiq-scheduler-roles"
```

And then execute:

$ bundle

Add this to your `Capfile`:

```ruby
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