#!/usr/bin/python # # Launch the update of the statistics # # (c) 2009 by Oriact GmbH # from ConfigParser import RawConfigParser from xmlrpclib import ServerProxy, Error cp = RawConfigParser() cp.read('/etc/aranea/aranea.conf') url = cp.get('origo', 'internal_api_url') server = ServerProxy(url) server.internal_statistics.update()