This seems to work.
after_initialize do
class ::Jobs::ExampleJob < Jobs::Scheduled
every 30.seconds
def execute(args)
puts "THIS IS A TEST"
end
end
end
This seems to work.
after_initialize do
class ::Jobs::ExampleJob < Jobs::Scheduled
every 30.seconds
def execute(args)
puts "THIS IS A TEST"
end
end
end