]> git.openstreetmap.org Git - osqa.git/blob - osqa/cron/once_award_badges_virtualenv
12414969f87bb261a8e5778c354b390dc199f6f3
[osqa.git] / osqa / cron / once_award_badges_virtualenv
1 #!/bin/sh
2
3 WORKON_HOME=~/envs/osqa
4 PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/
5
6 # activate virtual environment
7 . $WORKON_HOME/bin/activate
8
9 cd $PROJECT_ROOT
10 python manage.py once_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1