Extended example.

Added some stuff to the example for people that, just like me, needs to run anything after a set period of time,
Merge pull request #3 from georgerappel/master

Added extended example.