PYTHONPATH=/path/to/dir/above/forum export PYTHONPATH APP_ROOT=$PYTHONPATH/nmr-forum2 /path/to/python $APP_ROOT/manage.py send_email_alerts