summaryrefslogtreecommitdiffstats
path: root/cron/send_email_alerts
blob: 6c9e154d72ede60b313ca1098860d1e400820ca7 (plain)
1
2
3
4
5
6
7
8
9
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 send_email_alerts >> $PROJECT_ROOT/log/cron_mail.log 2>&1