Deutsch   English   Français   Italiano  
<t8bthb$goa$5@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.snarked.org!news.gegeweb.eu!gegeweb.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
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: <t8bthb$goa$5@shakotay.alphanet.ch>
References: <t89mc5$9v4$1@ns507557.dodin.fr.nf> <t89na2$6nn$2@shakotay.alphanet.ch> <t89qpq$bbu$1@ns507557.dodin.fr.nf> <t89re6$rt3$1@shakotay.alphanet.ch> <t8a7vk$f1i$2@ns507557.dodin.fr.nf>
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 <jdd@dodin.org> 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.