Periodically retrieves and logs the public IP of the machine it runs on