Orbit/app/jobs/backup_server.rb

9 lines
169 B
Ruby

class BackupServer
@queue = :high
def self.perform()
CronMail.time_check("Going to backup Orbit").deliver
# %x[touch #{Rails.root}/tmp/restart]
end
end