Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (http://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   exit at given time (http://www.kinook.com/Forum/showthread.php?t=3706)

tan125 07-17-2008 09:57 AM

exit at given time
 
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 01:38 PM

This seems to work...
 
Use an Exit step with conditional build rule of
[vbld_FormatTime() > 170000]
is true


All times are GMT -5. The time now is 02:06 AM.


Copyright 1999-2019 Kinook Software, Inc.