tolto dbname x truser
This commit is contained in:
@@ -38,7 +38,6 @@ sub getUnitName { # parm => file received ($trfile)
|
||||
my $readingFile;
|
||||
my $recvOKstr = "OK UPLOAD";
|
||||
my $ext = ".csv";
|
||||
my $dbname = "ase_mums";
|
||||
|
||||
GetOptions( "file=s" => \$readingFile )
|
||||
or die("Error in command line arguments\n");
|
||||
@@ -103,7 +102,7 @@ while ( my $line = $tail->GetLine() ) {
|
||||
exec( $scriptpath
|
||||
. "LoadCSVData.pl -f \"$dest\" -s \"$outpath/SQL/$filename"
|
||||
. "_"
|
||||
. "$timestamp.sql\" -d $dbname >> /home/$truser/log/loadcsvdata.log 2>&1"
|
||||
. "$timestamp.sql\" -d $truser >> /home/$truser/log/loadcsvdata.log 2>&1"
|
||||
);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user