I have a perl script on remote server.
I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
I don't know how long perl script will run but I want to scp(using
expect script from local) the file back to local as soon as perl script
is done on remote server.
What is the best way for this?
Only way I can think of is launching expect script every 30 sec to see
if remote server has output (say in /tmp/results.1) and if it does,
transfer back.
Maybe this is not a perl question and perhaps it is more basic unix
quesiton(?) but just wondering if I can get some construtive feedback on
this.
thank you.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/