First time here? Check out the FAQ!

Revision history  [back]

users don't get notification email

I have successfully setup the email functionality. I came to that conclusion since I get all the feedback that users send. But users don't get notifications when a question get answered. I checked the subscription setup and I have set system to send immediate response yet I don't get an email. Could it be that I haven't setup a cron job? In the application the white envelop become red which means that celery is probably working properly?

Do I need to add this to my cron tab to get email to work:

# this is a cron job for askbot that includes all
# commands that need to be run periodically
# please find introduction to cron here:
# http://www.unixgeeks.org/security/newbie/unix/cron-1.html
#
# if you prefer, you can split this file into several

PROJECT_PARENT_DIR=/path/to/dir_containing_askbot_site
PROJECT_DIR_NAME=askbot_site

export PYTHONPATH=$PROJECT_PARENT_DIR:$PYTHONPATH
PROJECT_ROOT=$PROJECT_DIR_NAME/$PROJECT_NAME

#these are actual commands that are to be run
python $PROJECT_ROOT/manage.py send_email_alerts

users don't get notification email

I have successfully setup the email functionality. I came to that conclusion since I get all the feedback that users send. But users don't get notifications when a question get answered. I checked the subscription setup and I have set system to send immediate response yet I don't get an email. Could it be that I haven't setup a cron job? In the application the white envelop become red which means that celery is probably working properly?

Do I need to add this to my cron tab to get email to work:

# this is a cron job for askbot that includes all
# commands that need to be run periodically
# please find introduction to cron here:
# http://www.unixgeeks.org/security/newbie/unix/cron-1.html
#
# if you prefer, you can split this file into several

PROJECT_PARENT_DIR=/path/to/dir_containing_askbot_site
PROJECT_DIR_NAME=askbot_site

export PYTHONPATH=$PROJECT_PARENT_DIR:$PYTHONPATH
PROJECT_ROOT=$PROJECT_DIR_NAME/$PROJECT_NAME

#these are actual commands that are to be run
python $PROJECT_ROOT/manage.py send_email_alerts