Night watch can now run tasks with different periods according to the task status (success, retry, failed)