From 53ed0aea2d28edd44d253d81147b6258402c4815 Mon Sep 17 00:00:00 2001 From: tantan Date: Thu, 20 Jun 2013 11:59:46 +0000 Subject: [PATCH] qnd: scripts path moved to alpha git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@100237 6b8eccd3-e8c5-4e7d-8186-e12b5326b719 --- alpha/scripts/dwh/dwh_plays_views_sync.sh | 4 ++-- configurations/cron/cleanup.template | 2 +- configurations/cron/dwh.template | 2 +- tests/sanity/04.dwhEntry.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/alpha/scripts/dwh/dwh_plays_views_sync.sh b/alpha/scripts/dwh/dwh_plays_views_sync.sh index 65be74b24bf..41d098a50f5 100644 --- a/alpha/scripts/dwh/dwh_plays_views_sync.sh +++ b/alpha/scripts/dwh/dwh_plays_views_sync.sh @@ -4,7 +4,7 @@ echo `date` echo "start dwh triggers" -mysql -h$DWH_HOST -P$DWH_PORT -u$DWH_USER -p$DWH_PASS < $BASE_DIR/app/scripts/dwh/trigger.sql |sed -e '1d' |php $BASE_DIR/app/scripts/dwh/updateEntryPlaysViews.php +mysql -h$DWH_HOST -P$DWH_PORT -u$DWH_USER -p$DWH_PASS < $BASE_DIR/app/alpha/scripts/dwh/trigger.sql |sed -e '1d' |php $BASE_DIR/app/alpha/scripts/dwh/updateEntryPlaysViews.php echo "start dwh wrap" -mysql -h$DWH_HOST -P$DWH_PORT -u$DWH_USER -p$DWH_PASS < $BASE_DIR/app/scripts/dwh/wrap.sql +mysql -h$DWH_HOST -P$DWH_PORT -u$DWH_USER -p$DWH_PASS < $BASE_DIR/app/alpha/scripts/dwh/wrap.sql echo "end dwh" diff --git a/configurations/cron/cleanup.template b/configurations/cron/cleanup.template index 4f92978b159..80fe727277e 100644 --- a/configurations/cron/cleanup.template +++ b/configurations/cron/cleanup.template @@ -1 +1 @@ -*/15 * * * * root @PHP_BIN@ @APP_DIR@/scripts/batch/deleteOldContent.php --real-run --old-versions --files 2>&1 >> @LOG_DIR@/kaltura_cleanup.log +*/15 * * * * root @PHP_BIN@ @APP_DIR@/alpha/scripts/batch/deleteOldContent.php --real-run --old-versions --files 2>&1 >> @LOG_DIR@/kaltura_cleanup.log diff --git a/configurations/cron/dwh.template b/configurations/cron/dwh.template index 61a94f651f7..1d8a04cb84f 100644 --- a/configurations/cron/dwh.template +++ b/configurations/cron/dwh.template @@ -2,4 +2,4 @@ 00 * * * * kaltura @DWH_DIR@/etlsource/execute/etl_update_dims.sh -p @DWH_DIR@ 59 0,4,8,12,16,20 * * * kaltura @DWH_DIR@/etlsource/execute/etl_daily.sh -p @DWH_DIR@ 30 12 * * * kaltura @DWH_DIR@/etlsource/execute/etl_perform_retention_policy.sh -p @DWH_DIR@ -0 10 * * * kaltura @APP_DIR@/scripts/dwh/dwh_plays_views_sync.sh >> @LOG_DIR@/cron.log +0 10 * * * kaltura @APP_DIR@/alpha/scripts/dwh/dwh_plays_views_sync.sh >> @LOG_DIR@/cron.log diff --git a/tests/sanity/04.dwhEntry.php b/tests/sanity/04.dwhEntry.php index 975e341c681..837bd34db44 100644 --- a/tests/sanity/04.dwhEntry.php +++ b/tests/sanity/04.dwhEntry.php @@ -301,7 +301,7 @@ /** * Syncyng plays and view from the dwh to the operational db */ -$cmd = "su $kalturaUser -c $appDir/scripts/dwh/dwh_plays_views_sync.sh"; +$cmd = "su $kalturaUser -c $appDir/alpha/scripts/dwh/dwh_plays_views_sync.sh"; echo "Executing [$cmd]"; passthru($cmd, $returnedValue); if($returnedValue !== 0)