PDA

View Full Version : exit at given time


tan125
07-17-2008, 08:57 AM
Hi,

I have a .bld file that runs in a loop, but I want to put a step at the end of the loop to exit the build if the time of day is between 5 and 6 p.m. I tried using the Hour(Time()) construct in vbscript, but this didn't seem to work. Any ideas?

tan125
07-17-2008, 12:38 PM
Use an Exit step with conditional build rule of
[vbld_FormatTime() > 170000]
is true