![Debian에서 권장되는 Mailman3 웹 크론 작업 구성은 무엇입니까?](https://linux55.com/image/215589/Debian%EC%97%90%EC%84%9C%20%EA%B6%8C%EC%9E%A5%EB%90%98%EB%8A%94%20Mailman3%20%EC%9B%B9%20%ED%81%AC%EB%A1%A0%20%EC%9E%91%EC%97%85%20%EA%B5%AC%EC%84%B1%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
이것Mailman3 웹 버전 설치 지침다양한 크론 작업 구성에 대해 문의하세요. 이것은데비안 Mailman3 설치 지침, 이는 데비안 mailman3-full
패키지가 필요한 것을 설정했음을 나타낼 수 있습니다. 그러나 나열된 크론 작업이 없습니다 /var/spool/cron/crontabs/
.
sudo -u list mailman /usr/bin/mailman-web runjobs hourly
또한 명령줄에서 지정된 작업(예: )을 실행하려고 하면 오류가 발생합니다 ValueError: Language code already registered: ar
.
답변1
Debian의 패키지는 mailman3
일련의 cron 계획을 설치합니다.
/etc/cron.d/mailman3
(현재 버전의 소프트웨어를 사용하면) 다음과 같아야 합니다.
# /etc/cron.d/mailman3: crontab entries for the mailman3 package
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# At 8AM, send out notifices of pending requests to list moderators
0 8 * * * list if [ -x /usr/bin/mailman ]; then /usr/bin/mailman notify; fi
# At 12AM, send mail digests for lists that do periodic as well as threshold delivery
0 12 * * * list if [ -x /usr/bin/mailman ]; then /usr/bin/mailman digests --periodic; fi
# Every 15 minutes, gate messages from usenet to those lists which have the gateway configured
*/15 * * * * list if [ -x /usr/bin/mailman ]; then /usr/bin/mailman gatenews; fi
(바라보다https://sources.debian.org/src/mailman3/3.3.7-3/debian/mailman3.cron.d/)