Sha256: 46cfb3b5db822784f5da0114e012fcba7f54a55e467e4c14d487260731e02de3
Contents?: true
Size: 248 Bytes
Versions: 6
Compression:
Stored size: 248 Bytes
Contents
require "zhong" Zhong.redis = Redis.new(url: ENV.fetch("REDIS_URL") { "redis://localhost:6379/0" }) if %w[zhong:start].include?(ARGV.first) Zhong.schedule do every 1.hour, "cleanup" do EasyML::CleanJob.perform_later end end end
Version data entries
6 entries across 6 versions & 1 rubygems