Don't have Telegram yet? Try it now!
http://blog.amit-agarwal.co.in/2010/09/24/bash-script-to-run-a-command-and-take-screenshot-in-every-loop/
bash script to run a command and take screenshot in every loop