I need a script to re-boot my router every day or so.
Too many outages. (Cisco 678)
Anybody have an expect script (or similar) to do this?
Session would look something like:
telnet 10.0.0.1 << EOF
userPassword
en
SuperUserPassword
reboot
EOF
of course we may need some 'expects' in between
so the above responses come only AFTER the appropriate prompts.
aaron