[Mailman-Users] Weekly and month digests

2022-04-29 Thread Mark Dale via Mailman-Users


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 



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



 

 


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Weekly and month digests

2022-04-29 Thread Mark Sapiro

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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Weekly and month digests

2022-04-29 Thread Mark Dale via Mailman-Users


> 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?



 

 
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/