PDA

View Full Version : Telnet action - separate timeout for each line of script


nasa_d
10-22-2010, 04:34 AM
Hello,
I am sending some commands to telnet and it requires me to define the time in milliseconds. I have a lot of activities on different boxes, so I do not want to measure and fix the time limit. Is that some thing that I could do with out defining the timings?

kinook
10-22-2010, 09:30 AM
That is just an upper limit on time to wait for a response, you can set it to a very large value (i.e., 3600000 for one hour) if necessary.

nrjohnstone
04-23-2012, 08:07 PM
This is something I have asked about before as well... Your suggestion of just defining a large time does not work, since when a telnet command has failed, I do not want to wait an hour for the script to time out !!!

Can you just add some extra parsing that allows you to alter the timeout value on a line per line basis ????

If your already checking for macro syntax (ie %MYMACRO%) embedded within the telnet commands, can you just add suport for seomthing like

<<5000>>make -f blah.mk

where double angle brackets specifies the new timeout value to be used for that particular telnet command ????

kinook
04-24-2012, 06:38 AM
Your request is on our todo list.

kinook
06-10-2013, 09:28 PM
This is implemented in v8.4.
http://www.kinook.com/VisBuildPro/Manual/telnetscripttab.htm

nrjohnstone
07-09-2013, 03:36 PM
Excellent, you finally implemented this !

Time to shell out some $$ for an upgrade to 8.4 then.

Thanks guys, we use the telnet feature a lot and this was the #1 bugbear for us