Restart job
This commit is contained in:
1 parent
7a6d30ad62
commit
dfd2d82efb
2 files changed
+14
No files matched your search
@@ -0,0 +1,8 @@
|
||||
class RestartServer
|
||||
@queue = :high
|
||||
|
||||
def self.perform()
|
||||
CronMail.time_check("Going to restarting Orbit").deliver
|
||||
%x[touch #{Rails.root}/tmp/restart]
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user