diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-27 11:38:06 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-27 11:38:06 -0400 |
commit | 9413c12d2126d4f86f2340e458226e72c0d4ecec (patch) | |
tree | b8c6cb667db07cb0247c07a3e09c222f412d6a99 /cron/multi_award_badges_virtualenv | |
parent | c50f61d34bf8b5431e8557a48b81a57026b3f0da (diff) | |
parent | 5c483bace8ac3066b88f2ce7ecb8c95a34aea07d (diff) | |
download | askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.gz askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.bz2 askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.zip |
intermediate commit after merge
Diffstat (limited to 'cron/multi_award_badges_virtualenv')
-rwxr-xr-x | cron/multi_award_badges_virtualenv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cron/multi_award_badges_virtualenv b/cron/multi_award_badges_virtualenv new file mode 100755 index 00000000..df58155a --- /dev/null +++ b/cron/multi_award_badges_virtualenv @@ -0,0 +1,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 multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1 |