PDA

View Full Version : Impatient Child?


FeedMe
06-17-2004, 08:14 AM
I have a "wait" in the failure steps of a child. The step is set to wait until 2099

<step action='Wait' type='2'>
<Criteria>01/01/2099</Criteria>
<WaitFor type='3'>1</WaitFor>
<name>Hold</name>
</step>

When I schedule this project to run during my nightly build, the wait step completes saying that the time/date has been reached.

Am I missing something or is the child just getting impatient and moving on?

All comments welcome.

kinook
06-17-2004, 08:26 AM
Not sure why you'd want to wait that long, but when using Wait Until 'The given time or date/time' option, the Wait action calculates the difference in milliseconds between the current time and the specified date/time. The value is stored in a DWORD (unsigned 4 byte integer), so the date you enter must be within about 4 billion milliseconds of the current time, which works out to about 8 years in the future. If you specify a date beyond that, the wait amount will get truncated.

FeedMe
06-17-2004, 08:34 AM
You have amazing response time.

I changed my wait to 999 hours and I will try that tonight.
It just seemed odd that the wait finishes during the night.

thanks,

Brian