houdini/script/crontab.sh

7 lines
268 B
Bash
Raw Normal View History

#!/bin/bash
echo "TEST"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" ## root folder of the CC install
source "$HOME/.rvm/scripts/rvm" # $HOME is the user that runs the rail app... and rake
cd $DIR
rake heroku_scheduled_job[pay_recurring_donations]