mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-21 00:50:03 +01:00
10 lines
146 B
Ruby
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
|