orbit-basic/app/jobs/backup_server.rb

9 lines
169 B
Ruby
Raw Normal View History

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