Hello:
I am having trouble with the script below.
What I want to do is:
1. End the script below at 8:59am every day.
2. Start another script at 9am via the window scheduler.
3. Start the script below at 9:15am via a window scheduler
The problem is that once this script ends, and I restart it, the script ends.
I ran debug with breakpoints and it does not matter what the values of iHours and iMin are. The script thinks they are equal to 8:58.
I am stumped!!
Any ideas?
________________________________________________________
proc main
string HostPath
integer iYear, iMonth, iDay, iHour, iMin, iSec
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour = 8
if iMin = 58
pwexit
endif
endif
fetch ASPECT PATH HostPath
addfilename HostPath "HOST\_HOST"
execute HostPath
endwhile
endproc
I am having trouble with the script below.
What I want to do is:
1. End the script below at 8:59am every day.
2. Start another script at 9am via the window scheduler.
3. Start the script below at 9:15am via a window scheduler
The problem is that once this script ends, and I restart it, the script ends.
I ran debug with breakpoints and it does not matter what the values of iHours and iMin are. The script thinks they are equal to 8:58.
I am stumped!!
Any ideas?
________________________________________________________
proc main
string HostPath
integer iYear, iMonth, iDay, iHour, iMin, iSec
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour = 8
if iMin = 58
pwexit
endif
endif
fetch ASPECT PATH HostPath
addfilename HostPath "HOST\_HOST"
execute HostPath
endwhile
endproc