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

7 lines
126 B
Ruby

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