Sha256: 276405a1eb1535ba97983e720142827cf401b3639906c0b295eb1eaa37819acf
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
require 'clockwork' require_relative './boot' require_relative './environment' module Clockwork <% if selected?(:report_error) -%> error_handler do |error| Raven.capture_exception(error) end <% end -%> # Example # # every(5.minutes, 'ScheduledJob') do # ScheduledJob.perform_later # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
potassium-3.0.0 | lib/potassium/assets/config/clock.rb.erb |
potassium-2.3.0 | lib/potassium/assets/config/clock.rb.erb |