This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
class SyncDb
|
|
|
|
@queue = :high
|
|
|
|
def self.perform()
|
|
self.start_sync
|
|
end
|
|
|
|
def self.start_sync
|
|
task = 'mid_site:sync'
|
|
args = []
|
|
%x[rake #{task} --trace >> #{Rails.root}/log/rake.log]
|
|
puts "SyncDb Synced"
|
|
end
|
|
end
|