Sha256: ba46a9de66ff0c1456f11edaabe39b5f790c7f3b6b669c46669283669f822723

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

# frozen_string_literal: true

# Regular jobs performed asynchronously at a given time
module Clockwork
  # every 1.hour, -> { Rodbot.say 'Ping!' }
  # every 1.day, -> { Rodbot.say 'Time for a cup of tea!' }, at: '16:00'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rodbot-0.5.1 lib/templates/new/config/schedule.rb
rodbot-0.5.0 lib/templates/new/config/schedule.rb