Removes the logic for enqueuing the workers on Cron, just keeps the web UI Admin and the funcionality for enqueuing the workers manually from the Admin.
This repository is a fork of https://github.com/ondrejbartas/sidekiq-cron where it overwrites the Poller class in charge of enqueuing the workers automatically; it also overwrites the Launcher so it should not make any call to the Poller (https://github.com/1debit/sidekiq-cron-web-admin/tree/master/lib/sidekiq/cron).
Add this line to your application's Gemfile:
gem 'sidekiq-cron-web-admin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sidekiq-cron-web-admin
- Clone this repository
- Setup the .env file using the .env.example
- Run
bundle
- Update the files at lib, and if needed to overwrite files from https://github.com/ondrejbartas/sidekiq-cron copy/paste the files into
lib/
and update them (see the examples https://github.com/1debit/sidekiq-cron-web-admin/tree/master/lib/sidekiq/cron) - Add tests using
test-unit
and run the tests:bundle exec rake test
- Push the changes to the branch and create a PR
- Increase the version at https://github.com/1debit/sidekiq-cron-web-admin/blob/master/lib/sidekiq/cron/web/admin/version.rb before merging the branch to master
Bug reports and pull requests are welcome on GitHub at https://github.com/1debit/sidekiq-cron-web-admin.
The gem is available as open source under the terms of the MIT License.