Thread SSH Befehl mit PERL - Please HELP (11 answers)
Opened by pq at 2004-07-23 19:55

pq
 2004-07-23 19:55
#37968 #37968
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
hmm, vielleicht vor dem restart noch ein sleep einfügen und das ganze im
hintergrund ausführen?
also $ssh->cmd("sleep 1 & /etc/rc.d/init.d/network restart &");
(ungetestet)
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread SSH Befehl mit PERL - Please HELP