Sha256: a313b913080d097ce530b4dc0d8e9b369a6239f0f89d31c89a3a50a432f772ed

Contents?: true

Size: 158 Bytes

Versions: 22

Compression:

Stored size: 158 Bytes

Contents

schedule_file = "config/schedule.yml"

if File.exists?(schedule_file) && Sidekiq.server?
  Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file)
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
my_nagios-0.0.22 config/initializers/sidekiq.rb
my_nagios-0.0.21 config/initializers/sidekiq.rb
my_nagios-0.0.20 config/initializers/sidekiq.rb
my_nagios-0.0.19 config/initializers/sidekiq.rb
my_nagios-0.0.18 config/initializers/sidekiq.rb
my_nagios-0.0.17 config/initializers/sidekiq.rb
my_nagios-0.0.16 config/initializers/sidekiq.rb
my_nagios-0.0.15 config/initializers/sidekiq.rb
my_nagios-0.0.14 config/initializers/sidekiq.rb
my_nagios-0.0.13 config/initializers/sidekiq.rb
my_nagios-0.0.12 config/initializers/sidekiq.rb
my_nagios-0.0.11 config/initializers/sidekiq.rb
my_nagios-0.0.10 config/initializers/sidekiq.rb
my_nagios-0.0.9 config/initializers/sidekiq.rb
my_nagios-0.0.8 config/initializers/sidekiq.rb
my_nagios-0.0.7 config/initializers/sidekiq.rb
my_nagios-0.0.6 config/initializers/sidekiq.rb
my_nagios-0.0.5 config/initializers/sidekiq.rb
my_nagios-0.0.4 config/initializers/sidekiq.rb
my_nagios-0.0.3 config/initializers/sidekiq.rb