Extended example.

Added some stuff to the example for people that, just like me, needs to run anything after a set period of time,