View Single Post
Old 10-12-2020, 12:44 PM
dsautter dsautter is offline
Registered User
Join Date: Jun 2007
Posts: 11

Hello Brenda,

Let me see if I can explain what I'm trying to accomplish.

We want to run a test over a 48 period. Within the 48 hours, we want to connect to all the devices in the list, grab outputs from show commands, and then pause for 4 hours. After the 4 hours, connect to all the devices again, run the same commands, and repeat 11 more times.

Time 0
While Not DeviceIP2.atEndOfStream "Connect to each device"
collect outputs
end if
sleep for 4 hours
loop to top

I'm struggling with the outer loop, pause four hours, then go back to the "While Not DeviceIP2.atEndOfStream" to start the process of connecting to all devices and running the show commands.
Reply With Quote