View Single Post
  #6  
Old 10-12-2020, 02:17 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,596
Hi Don,

I still don't understand the need for multiple DeviceIP# files.

Since the time iterator is known and VBScript functions can determine exact number of hosts in the file, I would just do this with two For/Next loops:

Code:
read source file
split ip's into array
for x = 0 to 11
    for y = 0 to ubound(hosts)
        connect
        run cmds
        log output
    next
    sleep 4 hrs
next
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote