Add cron to delete old undelivered emails. Add subset of languages we want to support.

This commit is contained in:
Kevin Fenzi 2014-01-19 21:37:14 +00:00
parent f2f2093bd2
commit 55a3e42c62
3 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,2 @@
0 * * * * root /usr/bin/python /etc/askbot/sites/ask/config/manage.py cleanup_mail -d 7 > /dev/null 2> /dev/null

View file

@ -62,6 +62,7 @@
with_items:
- cron-ask-send-reminders
- cron-post-office-send-mail
- cron-delete-old-emails
tags:
- files

View file

@ -336,6 +336,14 @@ GROUP_MESSAGING = {
}
ASKBOT_MULTILINGUAL = True
LANGUAGES = {
'zh-tw': 'Chinese',
'en': 'English',
'fr': 'French',
'el': 'Greek',
'ru': 'Russian',
'es': 'Spanish',
}
ASKBOT_CSS_DEVEL = False
if 'ASKBOT_CSS_DEVEL' in locals() and ASKBOT_CSS_DEVEL == True: