Run a method at a set interval