Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc/cron
diff options
context:
space:
mode:
authorOliver Zachau <oliver@thekaine.de>2014-03-06 11:45:23 +0400
committerOliver Zachau <oliver@thekaine.de>2014-03-06 11:45:23 +0400
commitb1536c2fe1d5dbf4f1a9a4845dcd82ccce1aba46 (patch)
tree3c5d36c252c9bc49ac489fb843cd6d32d1938c5d /misc/cron
parent8e275061bfabb26888125e29fe47588d289ae289 (diff)
Update archive.sh
We are mistakenly using "php" for this instead of the $PHP_BIN.
Diffstat (limited to 'misc/cron')
-rwxr-xr-xmisc/cron/archive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/archive.sh b/misc/cron/archive.sh
index 1947e5513d..59af4660b5 100755
--- a/misc/cron/archive.sh
+++ b/misc/cron/archive.sh
@@ -64,7 +64,7 @@ PIWIK_CRON_FOLDER=`dirname ${ARCHIVE}`
PIWIK_PATH="$PIWIK_CRON_FOLDER"/../../index.php
PIWIK_TOKEN_GENERATOR="$PIWIK_CRON_FOLDER"/../../misc/cron/updatetoken.php
-FILENAME_TOKEN_CONTENT=`php $PIWIK_TOKEN_GENERATOR`
+FILENAME_TOKEN_CONTENT=`$PHP_BIN $PIWIK_TOKEN_GENERATOR`
TOKEN_AUTH=`cat $FILENAME_TOKEN_CONTENT | cut -f2`
CMD_GET_ID_SITES="$PHP_BIN -q $PIWIK_PATH -- module=API&method=SitesManager.getAllSitesId&token_auth=$TOKEN_AUTH&format=csv&convertToUnicode=0"