Everyone,
I remember on 11/5 ronpaulgraphs.com got hammered from everyone wanting to look at the charts. I propose people volunteer mirroring.
I wrote a simple script below that can be run on Unix or cygwin servers. This will download the daily graph every 5 minutes. Nothing fancy. I don't have a server at the moment that I can make public, but others feel free to use it. If you don't have wget you might try curl or lwp-download (perl).
Please reply with a reply with a URL if you mirror so everyone knows. I propose a sticky.
Commands to run:
Keep in mind this will continue to run in the background until it is killed!! Leave out the nohup if you want it in the foreground.Code:$ nohup ./get_graph.sh & $ exit
------ script -----
-- endCode:#!/bin/bash # edit globals to your liking #PATH=$PATH:/usr/local/bin URL="http://www.ronpaulgraphs.com/yesterday_vs_today_line.png" IMG=`basename $URL` PUBLIC_HTML=/home/foobar/public_html WGET="wget -q -O $IMG.$$ $URL" CURL="curl -so $IMG.$$ $URL" cd $PUBLIC_HTML while [ 1 -eq 1 ]; do $WGET && mv $IMG.$$ $IMG || rm $IMG.$$ 2>/dev/null sleep 300 done
PS: Maybe someone could attach some html that will refresh this image every 5 minutes.
Edit: Added curl and error correction for wget/curl



