lib/wmap/site_tracker.rb
# 'Refresh sites in the site store in batch (from a file)
'Refresh sites in the site store in batch (from a file)
' Refresh sites in the site store in batch ( from a file )
def file_refresh(file)
		puts "Refresh entries in the site store from file: #{file}" if @verbose
		changes=Hash.new
		sites=file_2_list(file)
		changes=bulk_refresh(sites) unless sites.nil? or sites.empty?
		return changes
	rescue => ee
		puts "Exception on method #{__method__}: #{ee} for file: #{file}" if @verbose
	end
def file_refresh ( file ) puts "Refresh entries in the site store from file: #{file}" if @verbose changes = Hash . new sites = file_2_list ( file ) changes = bulk_refresh ( sites ) unless sites . nil? or sites . empty? return changes rescue => ee puts "Exception on method #{__method__}: #{ee} for file: #{file}" if @verbose end
'Refresh sites in the site store in batch (from a file)
' Refresh sites in the site store in batch ( from a file )
file
<not_specific>