kyle83
IS-IT--Management
- Aug 4, 2006
- 8
Hi,
I am using the script below to execute another script exactly every 3 minutes. Most of the time it works perfectly fine, but sometimes it seems that the script randomly doesn't acknowledge the waituntil command, and loops the "quantities" script over and over, really quickly. I run the script all day long and, again, it works like 90 percent of the time. Sometimes a couple hours in, it may crap out and start looping without waiting, and sometimes it will run flawlessly all day long. Today for example, right when i began running the script it started doing it, i restarted procomm and the computer (not the server), and it still does it. And it will probably continue to malfunction for another hour or so. I am running Procomm Plus 4.8, WinXP Home, and the server is an SCO Unix server. I connect to it via Telnet, which runs an OLD custom terminal application (inventory control). Can anyone help me or have any suggestions? Thanks in advance..
- Kyle
proc main
string QScript = "QUANTITIES"
string TimeString
long TimeNum
integer Loops = 0
while (Loops) < 1000
TimeString = $Time24
strsltime $DATE TimeString TimeNum
execute QScript
waituntil TimeNum + 180
Loops++
endwhile
endproc
I am using the script below to execute another script exactly every 3 minutes. Most of the time it works perfectly fine, but sometimes it seems that the script randomly doesn't acknowledge the waituntil command, and loops the "quantities" script over and over, really quickly. I run the script all day long and, again, it works like 90 percent of the time. Sometimes a couple hours in, it may crap out and start looping without waiting, and sometimes it will run flawlessly all day long. Today for example, right when i began running the script it started doing it, i restarted procomm and the computer (not the server), and it still does it. And it will probably continue to malfunction for another hour or so. I am running Procomm Plus 4.8, WinXP Home, and the server is an SCO Unix server. I connect to it via Telnet, which runs an OLD custom terminal application (inventory control). Can anyone help me or have any suggestions? Thanks in advance..
- Kyle
proc main
string QScript = "QUANTITIES"
string TimeString
long TimeNum
integer Loops = 0
while (Loops) < 1000
TimeString = $Time24
strsltime $DATE TimeString TimeNum
execute QScript
waituntil TimeNum + 180
Loops++
endwhile
endproc