Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/umbrellio/capistrano-sidekiq-scheduler-roles
- Owner: umbrellio
- License: mit
- Created: 2018-10-26T10:11:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-26T08:21:49.000Z (about 6 years ago)
- Last Synced: 2024-10-13T06:21:09.037Z (3 months ago)
- Topics: capistrano, capistrano-roles, capistrano-sidekiq, capistrano-sidekiq-scheduler, sidekiq, sidekiq-scheduler
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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: 1sJobForAppRole:
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.