Weekly and month digests
![](https://secure.gravatar.com/avatar/6b50c17f55d7174b281928faf6e87a4d.jpg?s=120&d=mm&r=g)
Hi,
I've encountered a puzzle where weekly digests are not being sent, and I'm trying to understand how periodic digests work.
Daily digests and running the command below (as root) seems to work okay.
/usr/bin/python /var/lib/mailman/cron/senddigests -l <LISTNAME>
Looking at Mailman's cron for digests I see the command for daily digests:
cat /var/lib/mailman/cron/crontab.in
... # Noon, mail digests for lists that do periodic as well as threshhold delivery. 0 12 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests ...
All good there.
For weekly and monthly digests to be sent should I add additional lines to Mailman's "crontab.in" (or even the system's crontab)? For example:
# 3:00 PM every Friday 0 15 * * 5 /usr/bin/python -S /var/lib/mailman/cron/senddigests # 9:00 AM first day of each month 0 9 1 * * /usr/bin/python -S /var/lib/mailman/cron/senddigests
Or does the "senddigests" script handle weekly and monthly digests by retrieving info from somewhere?
And if so, where does Mailman get the information as to which digests should be sent weekly or monthly?
And also if so, what day of the week/month should it be sending by default for those digests?
Thanks in advance if anyone can straighten my head out on this.
/Mark
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 4/29/22 20:06, Mark Dale via Mailman-Users wrote:
Or does the "senddigests" script handle weekly and monthly digests by retrieving info from somewhere?
And if so, where does Mailman get the information as to which digests should be sent weekly or monthly?
And also if so, what day of the week/month should it be sending by default for those digests?
Thanks in advance if anyone can straighten my head out on this.
Digests are digests. Period. If you run cron/senddigests daily, periodic digests will be sent daily including the first of the week and the first of the month. If you run cron/senddigests weekly only, periodic digests will be sent weekly and if you run cron/senddigests monthly only, periodic digests will be sent monthly.
Why do you think there is some sort of weekly or monthly digest which is different? Perhaps you are confused by the digest_volume_frequency setting. That has nothing to do with when digests are sent. That controls how often the digest volume number is incremented and the issue number is reset to 1. That is all.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/6b50c17f55d7174b281928faf6e87a4d.jpg?s=120&d=mm&r=g)
If you run cron/senddigests daily, periodic digests will be sent daily including the first of the week and the first of the month> If you run cron/senddigests weekly only, periodic digests will be sent weekly and> if you run cron/senddigests monthly only, periodic digests will be sent monthly.
Sorry if I'm being thick headed with this. I think I understand. Just to be clear ...
With the default Mailman cron being set as noon daily:
If, on a Wednesday (for example), List-1 is set with its digest as Daily -- its digest will be sent at noon that day (and every day).
And if List-2's digest is set as Weekly, its digest will be held and not sent until noon the next Monday (the first day of the week). The Daily digest of the List-1 will also get sent that Monday.
Have I understood correctly?
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 4/29/22 22:47, Mark Dale via Mailman-Users wrote:
With the default Mailman cron being set as noon daily:
If, on a Wednesday (for example), List-1 is set with its digest as Daily -- its digest will be sent at noon that day (and every day).
And if List-2's digest is set as Weekly, its digest will be held and not sent until noon the next Monday (the first day of the week). The Daily digest of the List-1 will also get sent that Monday.
Have I understood correctly?
No.
All list's digests will be sent daily at noon.
I think you are confused about what the digest_volume_frequency setting does. It has nothing to do with when digests are sent. It only controls how often the digest's volume number is incremented and issue number is reset.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/6b50c17f55d7174b281928faf6e87a4d.jpg?s=120&d=mm&r=g)
With the default Mailman cron being set as noon daily:
If, on a Wednesday (for example), List-1 is set with its digest as Daily -- its digest will be sent at noon that day (and every day).
And if List-2's digest is set as Weekly, its digest will be held and not sent until noon the next Monday (the first day of the week). The Daily digest of the List-1 will also get sent that Monday.
Have I understood correctly?
From: Mark Sapiro [mailto:mark@msapiro.net]
No.
All list's digests will be sent daily at noon.
I think you are confused about what the digest_volume_frequency setting does. It has nothing to do with when digests are sent. It only controls how often the digest's volume number is incremented and issue number is reset.
Ahhh. Now I understand. Thank you very much for setting me straight on that, and for your patience.
Best, Mark
participants (2)
-
Mark Dale
-
Mark Sapiro