use correct interval for cleanTask and transitionTask