Path: ...!news.snarked.org!news.gegeweb.eu!gegeweb.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.usenet.serveurs Subject: Re: poster avec cron Date: Wed, 15 Jun 2022 06:17:15 -0000 (UTC) Organization: Posted through ALPHANET Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 15 Jun 2022 06:17:15 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="17162"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64)) Cancel-Lock: sha256:80fpNeML/DhBqN22prLimzJLd87ADl+iNJ9KRBnytWQ= sha256:6kuzRUdsNaAo26uosdA2Y7Iqr1RZA4wLCjWiKt6jnCY= Bytes: 1481 Lines: 7 jdd wrote: > 0 3 * * * journalctl | grep "processed" 0 3 * * * /root/scripts/process-and-post.sh PS: tu peux bien sûr mettre MAILTO= au début de ta crontab, et configurer une passerelle mail2news qui ajoute le Approved: mais ma solution me semble plus simple.