Fixed leaderboard scripts to use production config

This commit is contained in:
Tom Bloor 2017-07-26 11:48:23 +01:00
parent 98dfbd100c
commit fbad7222c3
3 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
YESTERDAY=`date -d "yesterday" +%F`
./script/pear-local_loop leaderboard -t daily_total -d $YESTERDAY
./script/pear-local_loop leaderboard -t daily_count -d $YESTERDAY
./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 daily_total -d $YESTERDAY
MOJO_MODE=production ./script/pear-local_loop leaderboard -t daily_count -d $YESTERDAY
MOJO_MODE=production ./script/pear-local_loop leaderboard -t all_time_total -d $YESTERDAY
MOJO_MODE=production ./script/pear-local_loop leaderboard -t all_time_count -d $YESTERDAY

View file

@ -5,5 +5,5 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
YESTERDAY=`date -d "1 month ago" +%F`
./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_total -d $YESTERDAY
MOJO_MODE=production ./script/pear-local_loop leaderboard -t monthly_count -d $YESTERDAY

View file

@ -5,5 +5,5 @@ eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
YESTERDAY=`date -d "1 week ago" +%F`
./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_total -d $YESTERDAY
MOJO_MODE=production ./script/pear-local_loop leaderboard -t weekly_count -d $YESTERDAY