Files
crono/spec/assets/good_cronotab.rb
2015-03-18 20:54:16 +02:00

10 lines
146 B
Ruby

# This is an example of a good cronotab for tests
class TestJob
def perform
puts 'Test!'
end
end
Crono.perform(TestJob).every 5.seconds