On 11/5/25 11:17, dap1--- via Mailman-users wrote:
Sorry Mark:
These hundreds of emails are distracting and I have too many irons in the fire between you and Stephen. That is not a criticism as I greatly appreciate the help from both of you. Just that I'm having difficulty keeping up with you both.
> sudo grep -r '/usr/share/mailman3-web/manage.py' /etc/cron* /var/spool/cron
>
> /etc/cron.d/mailman3-web:* * * * * www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.minutely /usr/share/mailman3-web/manage.py runjobs minutely
> /etc/cron.d/mailman3-web:2,17,32,47 * * * * www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.quarter_hourly /usr/share/mailman3-web/manage.py runjobs quarter_hourly
> /etc/cron.d/mailman3-web:@hourly www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.hourly /usr/share/mailman3-web/manage.py runjobs hourly
> /etc/cron.d/mailman3-web:@daily www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.daily /usr/share/mailman3-web/manage.py runjobs daily
> /etc/cron.d/mailman3-web:@weekly www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.weekly /usr/share/mailman3-web/manage.py runjobs weekly
> /etc/cron.d/mailman3-web:@monthly www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.monthly /usr/share/mailman3-web/manage.py runjobs monthly
> /etc/cron.d/mailman3-web:@yearly www-data [ -f /usr/bin/django-admin ] && flock -n /v
> ar/run/mailman3-web/cron.yearly /usr/share/mailman3-web/manage.py runjobs yearly
This is not the crontab you reported at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
That one is probably /var/spool/cron/crontabs/mailman and wouldn't show here because it doesn't contain '/usr/share/mailman3-web/manage.py'.
So the system crontab at /etc/cron.d/mailman3-web is your issue and should be removed. That will get rid of the cron failure emails.
This was a fresh install of Ubuntu server so the only packages installed so far are dump/restore, Ubuntu-desktop, MySQL, Postfix, fetchmail and mailman3. Apache2 comes preinstalled with Ubuntu but there may be others of which I am currently unaware. As far as I know the only other crontab is for root where I have the backup jobs scheduled.
0 3 * * 0 /usr/local/sbin/sysbackup
Then the remaining question is how did that crontab get there in the system crontabs. The only way I know it could have gotten there if you didn't manually create it is via installation of Ubuntu Mailman packages.
I think you probably also have a django-admin and perhaps other things in /usr/bin/ and also a /usr/share/mailman-web/ directory which you don't want or need.
I suggest you do
sudo apt list mailman3 mailman3-web mailman3-full mailman3-doc
and see which of those unwanted packages are installed, and if any,
sudo apt remove them.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan