Merge branch 'development'
This commit is contained in:
commit
0abfe6d5cb
3 changed files with 29 additions and 0 deletions
11
script/daily_leaderboards
Executable file
11
script/daily_leaderboards
Executable file
|
@ -0,0 +1,11 @@
|
|||
#! /bin/bash
|
||||
|
||||
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
|
9
script/monthly_leaderboards
Executable file
9
script/monthly_leaderboards
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
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
|
9
script/weekly_leaderboards
Executable file
9
script/weekly_leaderboards
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
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
|
Reference in a new issue