Commit using task scheduler on windows