]> git.openstreetmap.org Git - osqa.git/blob - cron/send_email_alerts_virtualenv
OSQA-533, fixed some W3C validation errors: closing <img /> tags, removed some unnece...
[osqa.git] / cron / send_email_alerts_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 send_email_alerts >> $PROJECT_ROOT/log/cron_mail.log 2>&1