run a method with timer that only runs when nothing is happening

Printable View