windows: correct one time task execution support