allineamento a cloud

This commit is contained in:
2021-12-20 19:54:18 +01:00
parent f0bf337cfb
commit c9d5d8b2fc

View File

@@ -30,6 +30,7 @@ my (
);
my $matlab_proxy_ssh = "localhost"; #"80.211.107.201";
my $matlab_proxy_ssh_port = 22; #2222;
my $matlab_exec_user = 'asega';
my $matlab_cmd = "";
my $matlab_timestamp = "";
my $ftp_send = 1;
@@ -142,7 +143,7 @@ sub matlabCalc {
#my $args = "sh -c \'cd $matlab_func_dir; pwd; $cmd_elab\'";
my $args =
"ssh $matlab_proxy_ssh -p $matlab_proxy_ssh_port \"sh -c \'cd $matlab_func_dir; $cmd_elab\'\"";
"ssh $matlab_exec_user\@$matlab_proxy_ssh -p $matlab_proxy_ssh_port \"sh -c \'cd $matlab_func_dir; $cmd_elab\'\"";
if ( system($args) != 0 ) {
open( my $fh, '<', $MatlabErrorFilename )