Add cron to delete old undelivered emails. Add subset of languages we want to support.
This commit is contained in:
parent
f2f2093bd2
commit
55a3e42c62
3 changed files with 11 additions and 0 deletions
2
roles/ask/files/cron-delete-old-emails
Normal file
2
roles/ask/files/cron-delete-old-emails
Normal 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
|
||||
|
|
@ -62,6 +62,7 @@
|
|||
with_items:
|
||||
- cron-ask-send-reminders
|
||||
- cron-post-office-send-mail
|
||||
- cron-delete-old-emails
|
||||
tags:
|
||||
- files
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue