mirror of
https://github.com/plashchynski/crono.git
synced 2026-07-09 14:25:10 +02:00
Add rake task to check cronotab.rb syntax
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# This is an example of a good cronotab for tests
|
||||
|
||||
class TestJob
|
||||
def perform
|
||||
puts 'Test!'
|
||||
end
|
||||
end
|
||||
|
||||
Crono.perform(TestJob).every 5.seconds
|
||||
Reference in New Issue
Block a user