Commit 1ba6375d5bad794c2f89159a6be5466d42f11370

Authored by Kevin G Fourie
1 parent cb7d969d

Trying new script approach.

scripts/diagnoseIndexing.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq diagnose.php
  4 +../../../../scritps/php.sh -Cq diagnose.php
... ...
scripts/indexMigrationTask.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq cronMigration.php
  4 +../../../../scritps/php.sh -Cq cronMigration.php
... ...
scripts/indexingTask.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq cronIndexer.php
  4 +../../../../scritps/php.sh -Cq cronIndexer.php
... ...
scripts/optimizeIndexes.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq optimise.php
  4 +../../../../scritps/php.sh -Cq optimise.php
... ...
scripts/registerExtractorTypes.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq registerTypes.php
  4 +../../../../scritps/php.sh -Cq registerTypes.php
... ...
scripts/savedSearchTask.sh
1 1 #!/bin/sh
2 2  
3 3 cd ../search2/indexing/bin
4   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq cronSavedSearch.php
  4 +../../../../scritps/php.sh -Cq cronSavedSearch.php
... ...
scripts/schedulerTask.sh
... ... @@ -2,6 +2,6 @@
2 2  
3 3 cd ../bin
4 4 while true; do
5   -/usr/local/zend/bin/php -c /use/local/zend/etc -Cq scheduler.php
  5 +../scritps/php.sh -Cq scheduler.php
6 6 sleep 30
7 7 done
... ...