--- loncom/metadata_database/searchcat.pl 2004/06/17 19:37:08 1.58 +++ loncom/metadata_database/searchcat.pl 2004/08/30 14:31:42 1.60 @@ -2,7 +2,7 @@ # The LearningOnline Network # searchcat.pl "Search Catalog" batch script # -# $Id: searchcat.pl,v 1.58 2004/06/17 19:37:08 www Exp $ +# $Id: searchcat.pl,v 1.60 2004/08/30 14:31:42 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -119,7 +119,7 @@ if (defined($oneuser)) { ## ## Use variables for table names so we can test this routine a little easier my $oldname = 'metadata'; -my $newname = 'newmetadata'; +my $newname = 'newmetadata'.$$; # append pid to have unique temporary table # # Read loncapa_apache.conf and loncapa.conf @@ -142,7 +142,7 @@ if ($wwwid!=$<) { } # # Let people know we are running -open(LOG,'>'.$perlvar{'lonDaemons'}.'/logs/searchcat.log'); +open(LOG,'>>'.$perlvar{'lonDaemons'}.'/logs/searchcat.log'); &log(0,'==== Searchcat Run '.localtime()."====");