Sha256: f70eaf0a110e41a2b582d09330d9e64fd101f6d57950882bc9ad2f71f48f9ce7
Contents?: true
Size: 350 Bytes
Versions: 9
Compression:
Stored size: 350 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 every 1.hour, "schedule retraining" do EasyML::ScheduleRetrainingJob.perform_later end end end
Version data entries
9 entries across 9 versions & 1 rubygems