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/weekly_leaderboards

10 lines
236 B
Text
Raw Permalink Normal View History

2017-07-25 18:53:04 +00:00
#! /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