Skip to content

Commit

Permalink
qnd: scripts path moved to alpha
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@100237 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
  • Loading branch information
tantan committed Jun 20, 2013
1 parent ce2fc32 commit 53ed0ae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions alpha/scripts/dwh/dwh_plays_views_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion configurations/cron/cleanup.template
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion configurations/cron/dwh.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/sanity/04.dwhEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 53ed0ae

Please sign in to comment.