lib/anemone/admin/crawler.rb
#Update current crawler record with stop time and error if present
Update current crawler record with stop time and error if present
Update current crawler record with stop time and error if present
def unregister(page_count = 0, error = nil)
          return nil unless @crawler
          @crawler.update({:state => STOPED, 
                           :stop_at => Time.now, 
                           :page_count => page_count, 
                           :error => error})
          clear
        end
def unregister ( page_count = 0 , error = nil ) return nil unless @crawler @crawler . update ( { :state => STOPED , :stop_at => Time . now , :page_count => page_count , :error => error } ) clear end
Update current crawler record with stop time and error if present
Update current crawler record with stop time and error if present
page_count
<not_specific>
error
<not_specific>