From b45ec8aaf46ea99310d22b4fa9593c9118fc8fc9 Mon Sep 17 00:00:00 2001 From: conradverm Date: Mon, 15 Oct 2007 13:16:06 +0000 Subject: [PATCH] KTS-2484 "Create shell script wrappers for search scripts so they may be invoked by scheduler" Implemented. --- bin/schedulerTask.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+), 0 deletions(-) create mode 100755 bin/schedulerTask.sh diff --git a/bin/schedulerTask.sh b/bin/schedulerTask.sh new file mode 100755 index 0000000..0c1242a --- /dev/null +++ b/bin/schedulerTask.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# SETUP PATH TO FIND PHP +PATH=$PATH:../../php/bin:../../php: + +# WORK OUT DIRECTORIES +USER_DIR=`pwd` +SCRIPT_DIR=$USER_DIR/`dirname $0` +PHP_SCRIPT_DIR=$SCRIPT_DIR/ + +# EXECUTE SCRIPT IN THE SCRIPT DIRECTORY +cd $PHP_SCRIPT_DIR +php -Cq scheduler.php \ No newline at end of file -- libgit2 0.21.4