diff --git a/roles/ask/files/cron-post-office-send-daily b/roles/ask/files/cron-post-office-send-daily new file mode 100644 index 0000000000..53350266d6 --- /dev/null +++ b/roles/ask/files/cron-post-office-send-daily @@ -0,0 +1 @@ +0 6 * * * root /usr/bin/python /etc/askbot/sites/ask/config/manage.py send_email_alerts > /dev/null 2> /dev/null diff --git a/roles/ask/tasks/main.yml b/roles/ask/tasks/main.yml index 02a37e19e0..3465dbc559 100644 --- a/roles/ask/tasks/main.yml +++ b/roles/ask/tasks/main.yml @@ -109,6 +109,7 @@ with_items: - cron-ask-send-reminders - cron-post-office-send-mail + - cron-post-office-send-daily - cron-delete-old-emails - cron-delete-unused-tags when: inventory_hostname.startswith('ask01')