This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Foodloop-Server/script/daily_leaderboards
2017-07-25 19:53:04 +01:00

11 lines
371 B
Bash
Executable file

#! /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