From c3359c523199cd20aa1a205f94ddb67b42bdd03d Mon Sep 17 00:00:00 2001 From: conradverm Date: Tue, 16 Oct 2007 12:02:32 +0000 Subject: [PATCH] KTS-2484 "Create shell script wrappers for search scripts so they may be invoked by scheduler" Implemented. Added setlocal to preserve current environmental settings --- bin/diagnoseIndexing.bat | 1 + bin/indexMigrationTask.bat | 1 + bin/indexingTask.bat | 1 + bin/optimizeIndexes.bat | 1 + bin/registerExtractorTypes.bat | 1 + bin/savedSearchTask.bat | 1 + bin/schedulerTask.bat | 1 + 7 files changed, 7 insertions(+), 0 deletions(-) diff --git a/bin/diagnoseIndexing.bat b/bin/diagnoseIndexing.bat index f4d0c25..03b71da 100644 --- a/bin/diagnoseIndexing.bat +++ b/bin/diagnoseIndexing.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" php -Cq diagnose.php \ No newline at end of file diff --git a/bin/indexMigrationTask.bat b/bin/indexMigrationTask.bat index 6fb21ab..efd1346 100644 --- a/bin/indexMigrationTask.bat +++ b/bin/indexMigrationTask.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" php -Cq cronMigration.php \ No newline at end of file diff --git a/bin/indexingTask.bat b/bin/indexingTask.bat index 31cd70f..f7c19e7 100644 --- a/bin/indexingTask.bat +++ b/bin/indexingTask.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" php -Cq cronIndexer.php \ No newline at end of file diff --git a/bin/optimizeIndexes.bat b/bin/optimizeIndexes.bat index d0d5726..24eb298 100644 --- a/bin/optimizeIndexes.bat +++ b/bin/optimizeIndexes.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" php -Cq optimise.php \ No newline at end of file diff --git a/bin/registerExtractorTypes.bat b/bin/registerExtractorTypes.bat index 74b7c5e..ec61e3a 100644 --- a/bin/registerExtractorTypes.bat +++ b/bin/registerExtractorTypes.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" php -Cq registerTypes.php \ No newline at end of file diff --git a/bin/savedSearchTask.bat b/bin/savedSearchTask.bat index 53030bb..974fa3a 100644 --- a/bin/savedSearchTask.bat +++ b/bin/savedSearchTask.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\search\bin" php -Cq cronSavedSearch.php \ No newline at end of file diff --git a/bin/schedulerTask.bat b/bin/schedulerTask.bat index b430cb1..fa95128 100644 --- a/bin/schedulerTask.bat +++ b/bin/schedulerTask.bat @@ -1,6 +1,7 @@ @echo off SET PATH=%PATH%;..\..\php;..\..\php\bin +setlocal cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\bin" php -Cq scheduler.php \ No newline at end of file -- libgit2 0.21.4