Skip to content

zzet/sidekiq-tip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sidekiq::Tip

Build Status Coverage Status

Perform sidekiq jobs in time interval

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-tip'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sidekiq-tip

Usage

class SomeJob
  include Sidekiq::Worker
  # [0, 0, 0] == [hour, min, sec]
  sidekiq_options start_at: [0, 0, 0], finish_at: [10, 0, 0]

  def perform
    # ...
  end
end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/sidekiq-tip/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Perform sidekiq worker in time interval

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages