Bugfix: propagate the interval instead of using a default 60 seconds value

The interval was not being passed to the timer function.