Add a daily cron email send job for askbot. Fixes ticket 5241
This commit is contained in:
parent
51d95af2d7
commit
8e16db8951
2 changed files with 2 additions and 0 deletions
1
roles/ask/files/cron-post-office-send-daily
Normal file
1
roles/ask/files/cron-post-office-send-daily
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0 6 * * * root /usr/bin/python /etc/askbot/sites/ask/config/manage.py send_email_alerts > /dev/null 2> /dev/null
|
|
@ -109,6 +109,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- cron-ask-send-reminders
|
- cron-ask-send-reminders
|
||||||
- cron-post-office-send-mail
|
- cron-post-office-send-mail
|
||||||
|
- cron-post-office-send-daily
|
||||||
- cron-delete-old-emails
|
- cron-delete-old-emails
|
||||||
- cron-delete-unused-tags
|
- cron-delete-unused-tags
|
||||||
when: inventory_hostname.startswith('ask01')
|
when: inventory_hostname.startswith('ask01')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue