Added new Daily Cron script
This commit is contained in:
parent
4844174ead
commit
4b98de9075
2 changed files with 10 additions and 5 deletions
10
script/cron_daily
Normal file
10
script/cron_daily
Normal 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
|
|
@ -1,5 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||
|
||||
MOJO_MODE=production ./script/pear-local_loop recalc_leaderboards
|
Reference in a new issue