Kinook Software Forum

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

tan125 07-17-2008 08: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 12: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 03:49 PM.


Copyright © 1999-2023 Kinook Software, Inc.