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