Added new Daily Cron script

This commit is contained in:
Thomas Bloor 2018-03-26 14:26:02 +01:00
parent 4844174ead
commit 4b98de9075
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC
2 changed files with 10 additions and 5 deletions

10
script/cron_daily Normal file
View file

@ -0,0 +1,10 @@
#! /bin/bash
# Scripts to run daily.
# This will be run sometime between 2 & 3AM every morning.
# If order matters, make sure they are in the right place.
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
MOJO_MODE=production ./script/pear-local_loop recur_transactions --force
MOJO_MODE=production ./script/pear-local_loop recalc_leaderboards

View file

@ -1,5 +0,0 @@
#! /bin/bash
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
MOJO_MODE=production ./script/pear-local_loop recalc_leaderboards