# A resque worker to get the list of recordings from the server and update # the database. # Same as "rake bigbluebutton_rails:recordings:update". class BigbluebuttonUpdateRecordingsWorker @queue = :bigbluebutton_rails def self.perform(server_id=nil) Rails.logger.info "BigbluebuttonUpdateRecordingsWorker worker running" BigbluebuttonRails::BackgroundTasks.update_recordings(server_id) end end