Fixed leaderboard scripts to use production config
This commit is contained in:
parent
98dfbd100c
commit
fbad7222c3
3 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
YESTERDAY=`date -d "yesterday" +%F`
|
YESTERDAY=`date -d "yesterday" +%F`
|
||||||
|
|
||||||
|
|
||||||
./script/pear-local_loop leaderboard -t daily_total -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t daily_total -d $YESTERDAY
|
||||||
./script/pear-local_loop leaderboard -t daily_count -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t daily_count -d $YESTERDAY
|
||||||
./script/pear-local_loop leaderboard -t all_time_total -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t all_time_total -d $YESTERDAY
|
||||||
./script/pear-local_loop leaderboard -t all_time_count -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t all_time_count -d $YESTERDAY
|
||||||
|
|
|
@ -5,5 +5,5 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
YESTERDAY=`date -d "1 month ago" +%F`
|
YESTERDAY=`date -d "1 month ago" +%F`
|
||||||
|
|
||||||
|
|
||||||
./script/pear-local_loop leaderboard -t monthly_total -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t monthly_total -d $YESTERDAY
|
||||||
./script/pear-local_loop leaderboard -t monthly_count -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t monthly_count -d $YESTERDAY
|
||||||
|
|
|
@ -5,5 +5,5 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
YESTERDAY=`date -d "1 week ago" +%F`
|
YESTERDAY=`date -d "1 week ago" +%F`
|
||||||
|
|
||||||
|
|
||||||
./script/pear-local_loop leaderboard -t weekly_total -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t weekly_total -d $YESTERDAY
|
||||||
./script/pear-local_loop leaderboard -t weekly_count -d $YESTERDAY
|
MOJO_MODE=production ./script/pear-local_loop leaderboard -t weekly_count -d $YESTERDAY
|
||||||
|
|
Reference in a new issue