A genereal behaviour for task that needs to be repeated at an interval