spickles has asked for the
wisdom of the Perl Monks concerning the following question:
I am running a CGI script that essentially gathers input from database records and uses those as variables to open a Net::Telnet::Cisco session to a switch and configure access points. At one point, the APs need to reboot, and then continue configuration. The reboot process is at a minimum 1.5 minutes. When I process a smaller amount of APs (1-10) they all come out ok. When I start to process larger numbers of APs, some end up with incomplete configurations. So my question is whether or not there is a timeout value of a CGI script? Would running this as a *.pl file work as well? Can I call a *.pl script from a web page? My thoughts at this point are to split the process into two different scripts while the APs reboot.
Update: Also, if this is run as a *.pl file, can I still provide real time feedback to the user via a web page? Is there a way to see the real time output of the telnet session via a web page?