I have:
There is not enough information in the question to really reproduce the problem to give a specific answer... but there are several things to check/change/try to make this work:
waitInterval="240000"
and waitAttempt="1"
(double quotes instead of single quotes)-whatif
and -verbose
optionsEDIT - after the addition of -verbose
output:
I see these possibilities:
EDIT 2 - as per comments:
In my last EDIT I wrote about timestamp because my suspicion is that something goes wrong when these are compared... that can be for example differring clocks between both machines (even a difference of 30 sec can have an impact) and/or some timezone issues...
I wrote about filesystem esp. FAT since the timestamp resolution of FAT is someabout 2 seconds while NTFS has much higher resolution, again this could have an impact when comparing timestamps...
From what you describe I would suggest the following workarounds:
EDIT 3 - as per comment from Merlyn Morgan-Graham the result for future reference:
When using the runCommand
provider, use batch files. For some reason this made it stop running two passes.
The problem with this solution is that one can't specify the installation directory of the service via a SetParameters.xml
file (same for dontUseCommandExe
/ preSync
/ postSync
regarding SetParameters.xml
).
EDIT 4 - as per comment from Merlyn Morgan-Graham:
The timeout params apply to whether to kill that specific command, not to the closing of the Windows Service itself... in this case it seems that the Windows Service takes rather long to stop and thus only the runCommand
s get executed without the copy/sync and a new try for the whole run is initiated...