Commit c3359c523199cd20aa1a205f94ddb67b42bdd03d
1 parent
5cb3d9ea
KTS-2484
"Create shell script wrappers for search scripts so they may be invoked by scheduler" Implemented. Added setlocal to preserve current environmental settings Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7378 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
7 changed files
with
7 additions
and
0 deletions
bin/diagnoseIndexing.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" |
| 5 | 6 | ||
| 6 | php -Cq diagnose.php | 7 | php -Cq diagnose.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/indexMigrationTask.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" |
| 5 | 6 | ||
| 6 | php -Cq cronMigration.php | 7 | php -Cq cronMigration.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/indexingTask.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" |
| 5 | 6 | ||
| 6 | php -Cq cronIndexer.php | 7 | php -Cq cronIndexer.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/optimizeIndexes.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" |
| 5 | 6 | ||
| 6 | php -Cq optimise.php | 7 | php -Cq optimise.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/registerExtractorTypes.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\indexing\bin" |
| 5 | 6 | ||
| 6 | php -Cq registerTypes.php | 7 | php -Cq registerTypes.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/savedSearchTask.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\search\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\search2\search\bin" |
| 5 | 6 | ||
| 6 | php -Cq cronSavedSearch.php | 7 | php -Cq cronSavedSearch.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |
bin/schedulerTask.bat
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin | 3 | SET PATH=%PATH%;..\..\php;..\..\php\bin |
| 4 | +setlocal | ||
| 4 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\bin" | 5 | cd "@@BITROCK_INSTALLDIR@@\knowledgeTree\bin" |
| 5 | 6 | ||
| 6 | php -Cq scheduler.php | 7 | php -Cq scheduler.php |
| 7 | \ No newline at end of file | 8 | \ No newline at end of file |