orbit-4-2/app/jobs/get_remote_announcement.rb

7 lines
132 B
Ruby

class GetRemoteAnnouncement
@queue = :high
def self.perform()
%x(ruby "#{Rails.root}/lib/remote_announcement.rb")
end
end