Setup an interval timer