On Aug 9, 2017, at 15:45, Mark Sapiro <mark@msapiro.net> wrote:
However, the sending of periodic digests depends on cron running something periodically to actually trigger the sending.
Right. There will eventually be additional recurring tasks for Core too though, such as processing the bounce database for disables and unsubs, pulling messages from NNTP, and possibly others as time goes on.
I’ve always thought about handling these as commands that cron would run, much as in Mailman 2, but it would also be possible to implement a runner, or runners, to do those jobs. I can see advantages and disadvantages with either approach.
Note: I've just looked at the code and there seems to be an issue with using 'mailman digests --send' to send the periodic digests. It appears that if a list's digest mbox has any messages, 'mailman digests --send' will send a digest even if digest_send_periodic is false. I've just reported <https://gitlab.com/mailman/mailman/issues/384> for this issue.
Yep, thanks for the bug report. mailman digests —periodic
seems like the right approach.
Cheers, -Barry