On Wed, Sep 22, 2021 at 7:05 PM Mark Sapiro <m...@msapiro.net> wrote:

> On 9/22/21 2:25 AM, Odhiambo Washington wrote:
>
> > However I am getting cron errors, and they are referring to the old path
> > (/usr/local/mailman) as opposed to mailman2.
> >
> > Example:
> > /usr/local/bin/python2.7: can't open file
> > '/usr/local/mailman/cron/checkdbs': [Errno 2] No such file or directory
> >
> > What might I be missing?
>
>
> What crontab is running these? You mentioned editing mailman's crontab,
> but what about system crontabs in /etc/cron.d/?
>
> And if you are running Mailman's crons from both Mailman's crontab and a
> system crontab, this is a mistake. Use one or the other, not both.


crontab -e only edits /var/cron/tabs/$username in FreeBSD.
There is no other crontab for mailman other than /var/cron/tabs/mailman. I
have searched.
Still confused.
I did:
su - mailman
cd /usr/local/mailman2/cron && crontab crontab.in

And it installed the same file.
Where the old path still comes from has left me confused.
How do I run the crontab entries in debug mode to see what they are doing?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' :-)
------------------------------------------------------
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/

Reply via email to