Path: ...!news.nobody.at!weretis.net!feeder8.news.weretis.net!news.imp.ch!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 12:04:29 -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 12:04:29 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="20664"; 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:GKgH57D+OsK4/Vbo+LHQs8qSXb+XiyZfipB3VaM3EeE= sha256:PjX9LCxPtGE4ukKM3JxMI24sFpDFuIJM19OiT6/VrsE= Bytes: 1859 Lines: 15 jdd wrote: > je ne suis pas sur d'être clair. Si je peux créer un message (avec bash, > pour faire simple), je pourrai appeler un script avec cron Tu trouves un exemple ici: https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=scripts/tests/cancel-lock/test-article.sh il utilise le template: https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=scripts/tests/cancel-lock/templates/test-article Tu peux enlever la partie cancel-lock et tee et juste piper le sed à inews -h. J'ai fait un exemple plus simple dans ce thread.