blob: 12414969f87bb261a8e5778c354b390dc199f6f3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
WORKON_HOME=~/envs/osqa
PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/
# activate virtual environment
. $WORKON_HOME/bin/activate
cd $PROJECT_ROOT
python manage.py once_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1
|