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
SocialQA's avatar
265
SocialQA
asked 2014-01-20 10:20:56 -0500, updated 2014-01-20 10:32:18 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I believe you do have to set up a cron job or windows task to run the email notifications. I think the "Real time" notifications work without it.

tim's avatar tim (2015-01-14 16:35:51 -0500) edit
add a comment see more comments