6 lines
189 B
Ruby
6 lines
189 B
Ruby
Sidekiq.configure_server do |config|
|
|
Sidekiq::Logging.logger = Rails.logger
|
|
|
|
schedule_file = "config/schedule.yml"
|
|
Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file)
|
|
end
|