Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 205 Bytes
require_relative "snow"
require "clockwork"
module Clockwork
handler do |job, time|
if job == "snow_parse.job"
puts(Snow.process.key)
end
end
every(30.minutes, 'snow_parse.job')
end