7 lines
190 B
Ruby
7 lines
190 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
|
|
|