Depends on GNU Coreutils, GNUPlot
Add the following two lines to your crontab for a six-hourly update of plots, with a resolution of 5 minutes.
*/5 * * * * make -C /home/cse/ping-stats -j 10
59 5,11,17,23 * * * make -C /home/cse/ping-stats -j 10 plot -B
58 23 * * * make -C /home/cse/ping-stats daily-archive -B