Have you ever needed to run an MTR, (basically a traceroute) and save it to a file and then delete the files after a specified amount of time? I have had this need so I wrote this simple Ruby Script available on GITHUB.
https://github.com/nertwork/minute_mtr
You can just run this in any terminal after you have installed git by issuing the following:
git clone https://github.com/nertwork/minute_mtr.git
Directions are available in the file, the readme or by using the -h flag. When you want to quit just issue the command killall minute_mtr.rb