Sha256: b2b0ae1a5e94e7b048a3ec4eceb90e2230ad42029a5fb3306c8fba90db4ec2ac
Contents?: true
Size: 418 Bytes
Versions: 12
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true require_relative '../../punk' require 'sidekiq' require 'sidekiq-cron' PUNK.init(task: 'worker', config: { app: { name: 'Roadie' } }).exec Sidekiq.logger = SemanticLogger['PUNK::SKQ'] Sidekiq.logger.class.alias_method(:with_context, :tagged) path = File.expand_path(File.join(PUNK.get.app.path, '..', 'config', 'schedule.yml')) Sidekiq::Cron::Job.load_from_hash(YAML.load_file(path))
Version data entries
12 entries across 12 versions & 1 rubygems