Thread View: pl.comp.lang.perl
1 messages
1 total messages
Started by Tomek
Wed, 11 Jan 2012 08:29
Uruchomienie pliku batch ze skryptu perl
Author: Tomek
Date: Wed, 11 Jan 2012 08:29
Date: Wed, 11 Jan 2012 08:29
24 lines
1528 bytes
1528 bytes
Witam
Jest taki skrypt (openPerlIde, Windows), który działa j/n:
1. połączenie z serwerem
use Net::Telnet ();
my $t = new Net::Telnet (Timeout=>100);
$t->open("10.92.115.1");
2. uruchomienie na w/w serwerze nakładki do obsługi urządzeń
$t->cmd("xpie");
3. następnie uruchamiam plik batch działający pod tą nakładką
(plik batch leży na w/w serwerze)
$t->cmd("xxxyyy.batch");
i jest ok batch się wykonuje, ale skrypt czeka. Ten batch
tworzy loga około 30 MB, trwa to ponad godzinę i sktypt po
chwili wyświetla time-out lub przekroczony rozmiar bufora.
I chodzi mi o to, żeby batch się uruchomił, a skrypt
poszedł dalej (nie czekał). Jest to możliwe??
pozdrawiam
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads