diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 18:27:57 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-03-14 18:27:57 -0400 |
commit | 10c98242325230d2314c2f1292e75650acd8d50e (patch) | |
tree | b977974539f794324a4bb36655ae6e35ecc769a3 /cron/multi_award_badges | |
parent | 7d4e81c2e6553ee9aa087d95fdc6c87f75b021df (diff) | |
parent | c2255c60fa5bca3f49fa30aa81a20fcdaa603dc3 (diff) | |
download | askbot-10c98242325230d2314c2f1292e75650acd8d50e.tar.gz askbot-10c98242325230d2314c2f1292e75650acd8d50e.tar.bz2 askbot-10c98242325230d2314c2f1292e75650acd8d50e.zip |
merged with master branch
Diffstat (limited to 'cron/multi_award_badges')
-rwxr-xr-x | cron/multi_award_badges | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/cron/multi_award_badges b/cron/multi_award_badges index df58155a..b34abd09 100755 --- a/cron/multi_award_badges +++ b/cron/multi_award_badges @@ -1,10 +1,5 @@ #!/bin/sh - -WORKON_HOME=~/envs/osqa -PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/ - -# activate virtual environment -. $WORKON_HOME/bin/activate - -cd $PROJECT_ROOT +PYTHONPATH=/path/to/dir_above_osqa_site +export PYTHONPATH +PROJECT_ROOT=$PYTHONPATH/osqa_site python manage.py multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1 |