tolto dbname x truser

This commit is contained in:
2017-09-17 22:00:39 +02:00
parent 6810d4a1d6
commit 980477fdfd

View File

@@ -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);
}