Click to See Complete Forum and Search --> : Perl script


zappy
03-16-2001, 09:50 PM
Does anyone know if perl is capable of imbedding MS batch jobs within an expect script.

Energon
03-16-2001, 10:50 PM
you mean like:

system("file.bat");

like that?

zappy
03-17-2001, 02:23 AM
yea, we have scripts for rebooting multiple AIX systems and the AIX systems talk to some Alpha's running NT we have batch jobs that reboot the Alpha's we want to integrate the two jobs into one script and someone made mention that they think Perl can do this just wanting to know if anyone has ever heard of anything like this. We need to actually shutdown some processes on the Risc boxes and then reboot the Alpha's then restart the processes on the Risc's. It gets kinda tedious logging into 100+ systems to do it manually. If Perl is not for the job does anyone know what is for the job?

zappy
03-18-2001, 12:58 AM
Anybody? Or is this just not possible?