vadim
10-03-2006, 03:57 AM
Hello,
We've got some troubles using telnet action in VBP 5.7. We have a several scripts on the linux machine that executes checkout and make. By default Timeout is set to 60 and Delay to 1000. Script performs comparatively lengthy actions, and we found that telnet client in VBP brakes connection before the script is done with a blank response. After a few tests we found out that constructions such as sleep 3 with delay less than 3 (sec) will be failed with the same response. On the other hand, if we'd set time out to 1 minute for example, than we should wait this time for every response, even for logon. Recommended 0 values aren't help either.
Could you help us, with the solution how to implement correct step, to execute such script:
logon:
name
password:
pass
bash prepareandcheckout.sh
!customerror
bash compileandmake.sh
!customerror
Where shell scripts average output response are varied.
Thanks in advance,
Vadim
We've got some troubles using telnet action in VBP 5.7. We have a several scripts on the linux machine that executes checkout and make. By default Timeout is set to 60 and Delay to 1000. Script performs comparatively lengthy actions, and we found that telnet client in VBP brakes connection before the script is done with a blank response. After a few tests we found out that constructions such as sleep 3 with delay less than 3 (sec) will be failed with the same response. On the other hand, if we'd set time out to 1 minute for example, than we should wait this time for every response, even for logon. Recommended 0 values aren't help either.
Could you help us, with the solution how to implement correct step, to execute such script:
logon:
name
password:
pass
bash prepareandcheckout.sh
!customerror
bash compileandmake.sh
!customerror
Where shell scripts average output response are varied.
Thanks in advance,
Vadim