summaryrefslogtreecommitdiffstats
path: root/forum/cron/multi_award_badges_virtualenv
blob: 4230fb228c11f878f8a967fda38ae81de75f7d4e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

WORKON_HOME=~/envs/askbot
PROJECT_ROOT=~/webapps/askbot_server/projects/askbot/

# activate virtual environment
. $WORKON_HOME/bin/activate

cd $PROJECT_ROOT
python manage.py multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1