formattato
This commit is contained in:
@@ -163,11 +163,16 @@ sub matlabCalc {
|
|||||||
|
|
||||||
sub trxelab {
|
sub trxelab {
|
||||||
my $user = getpwuid($>);
|
my $user = getpwuid($>);
|
||||||
my $ftpcmd = "$scriptpath$FtpToCustomerCmd -m \"$matlab_timestamp\" -u $unit -t $tool >> /home/$user/log/loadcsvdata.log 2>&1";
|
my $ftpcmd =
|
||||||
|
"$scriptpath$FtpToCustomerCmd -m \"$matlab_timestamp\" -u $unit -t $tool >> /home/$user/log/loadcsvdata.log 2>&1";
|
||||||
print getTimeStamp("log")
|
print getTimeStamp("log")
|
||||||
. " - pid $$ >> Fork FTP command to set GID mysql: $ftpcmd.\n";
|
. " - pid $$ >> Fork FTP command to set GID mysql: $ftpcmd.\n";
|
||||||
|
|
||||||
exec('/usr/bin/sg', 'mysql', "$ftpcmd");
|
unless ( fork() ) {
|
||||||
|
exec( '/usr/bin/sg', 'mysql', "$ftpcmd" );
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getNodesType {
|
sub getNodesType {
|
||||||
|
|||||||
Reference in New Issue
Block a user